Class ArtisanRecipeInput

java.lang.Object
com.wdiscute.artisan.recipe.ArtisanRecipeInput
All Implemented Interfaces:
net.minecraft.world.item.crafting.RecipeInput

public class ArtisanRecipeInput extends Object implements net.minecraft.world.item.crafting.RecipeInput
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArtisanRecipeInput(List<net.minecraft.world.item.ItemStack> items, List<net.minecraft.world.item.ItemStack> requiredUpgrades)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    getItem(int index)
     
    List<net.minecraft.world.item.ItemStack>
     
    int
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.item.crafting.RecipeInput

    isEmpty
  • Constructor Details

    • ArtisanRecipeInput

      public ArtisanRecipeInput(List<net.minecraft.world.item.ItemStack> items, List<net.minecraft.world.item.ItemStack> requiredUpgrades)
  • Method Details

    • getUpgrades

      public List<net.minecraft.world.item.ItemStack> getUpgrades()
    • getItem

      public net.minecraft.world.item.ItemStack getItem(int index)
      Specified by:
      getItem in interface net.minecraft.world.item.crafting.RecipeInput
    • size

      public int size()
      Specified by:
      size in interface net.minecraft.world.item.crafting.RecipeInput