Class RecipeWrapper
java.lang.Object
net.neoforged.neoforge.items.wrapper.RecipeWrapper
- All Implemented Interfaces:
net.minecraft.world.item.crafting.RecipeInput
-
Field Details
-
inv
-
-
Constructor Details
-
RecipeWrapper
-
-
Method Details
-
size
public int size()Returns the size of this inventory.- Specified by:
size
in interfacenet.minecraft.world.item.crafting.RecipeInput
-
getItem
public net.minecraft.world.item.ItemStack getItem(int slot) Returns the stack in this slot. This stack should be a modifiable reference, not a copy of a stack in your inventory.- Specified by:
getItem
in interfacenet.minecraft.world.item.crafting.RecipeInput
-