net.minecraft.recipe.input

public class CraftingRecipeInput

implements RecipeInput

net.minecraft.world.item.crafting.CraftingInput
net.minecraft.class_9694
net.minecraft.recipe.input.CraftingRecipeInput

Field summary

Modifier and TypeField
public static final CraftingRecipeInput
EMPTY
field_51631
EMPTY
private final int
width
field_51632
width
private final int
height
field_51633
height
private final List<ItemStack>
items
field_51634
stacks
private final RecipeFinder
stackedContents
field_51635
matcher
private final int
ingredientCount
field_51636
stackCount

Constructor summary

ModifierConstructor
private (int width, int height, List<ItemStack> stacks)

Method summary

Modifier and TypeMethod
public static CraftingRecipeInput
of(int width, int height, List<ItemStack> items)
method_59986(int arg0, int arg1, List<class_1799> arg2)
create(int width, int height, List<ItemStack> stacks)
public static CraftingRecipeInput$Positioned
ofPositioned(int width, int height, List<ItemStack> items)
method_60505(int arg0, int arg1, List<class_1799> arg2)
createPositioned(int width, int height, List<ItemStack> stacks)
public ItemStack
getItem(int index)
method_59984(int arg0)
getStackInSlot(int arg0)
public ItemStack
getItem(int x, int y)
method_59985(int arg0, int arg1)
getStackInSlot(int x, int y)
public int
size()
method_59983()
size()
public boolean
isEmpty()
method_59987()
isEmpty()
public RecipeFinder
stackedContents()
method_59988()
getRecipeMatcher()
public List<ItemStack>
items()
method_59989()
getStacks()
public int
ingredientCount()
method_59990()
getStackCount()
public int
width()
method_59991()
getWidth()
public int
height()
method_59992()
getHeight()