Class RecipeWrapper
java.lang.Object
net.neoforged.neoforge.items.wrapper.RecipeWrapper
- All Implemented Interfaces:
RecipeInput
-
Field Details
-
inv
-
-
Constructor Details
-
RecipeWrapper
-
-
Method Details
-
size
public int size()Returns the size of this inventory.- Specified by:
size
in interfaceRecipeInput
-
getItem
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 interfaceRecipeInput
-