Class RecipeWrapper
java.lang.Object
net.neoforged.neoforge.items.wrapper.RecipeWrapper
- All Implemented Interfaces:
RecipeInput
@Deprecated(since="1.21.9",
forRemoval=true)
public class RecipeWrapper
extends Object
implements RecipeInput
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final IItemHandlerDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetItem(int slot) Deprecated, for removal: This API element is subject to removal in a future version.Returns the stack in this slot.intsize()Deprecated, for removal: This API element is subject to removal in a future version.Returns the size of this inventory.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.RecipeInput
isEmpty
-
Field Details
-
inv
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
RecipeWrapper
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
size
public int size()Deprecated, for removal: This API element is subject to removal in a future version.Returns the size of this inventory.- Specified by:
sizein interfaceRecipeInput
-
getItem
Deprecated, for removal: This API element is subject to removal in a future version.Returns the stack in this slot. This stack should be a modifiable reference, not a copy of a stack in your inventory.- Specified by:
getItemin interfaceRecipeInput
-
RecipeInputdirectly instead.