Package net.minecraftforge.items.wrapper
Class RecipeWrapper
java.lang.Object
net.minecraftforge.items.wrapper.RecipeWrapper
- 
Field SummaryFieldsFields inherited from interface net.minecraft.world.ContainerLARGE_MAX_STACK_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanPlaceItem(int slot, ItemStack stack)voidintReturns the size of this inventory.getItem(int slot)Returns the stack in this slot.intbooleanisEmpty()removeItem(int slot, int count)Attempts to remove n items from the specified slot.removeItemNoUpdate(int index)Removes the stack contained in this slot from the underlying handler, and returns it.voidvoidSets the contents of this slot to the provided stack.voidbooleanstillValid(Player player)void
- 
Field Details- 
inv
 
- 
- 
Constructor Details- 
RecipeWrapper
 
- 
- 
Method Details- 
getContainerSizepublic int getContainerSize()Returns the size of this inventory.- Specified by:
- getContainerSizein interface- Container
 
- 
getItemReturns the stack in this slot. This stack should be a modifiable reference, not a copy of a stack in your inventory.
- 
removeItemAttempts to remove n items from the specified slot. Returns the split stack that was removed. Modifies the inventory.- Specified by:
- removeItemin interface- Container
 
- 
setItemSets the contents of this slot to the provided stack.
- 
removeItemNoUpdateRemoves the stack contained in this slot from the underlying handler, and returns it.- Specified by:
- removeItemNoUpdatein interface- Container
 
- 
isEmptypublic boolean isEmpty()
- 
canPlaceItem- Specified by:
- canPlaceItemin interface- Container
 
- 
clearContentpublic void clearContent()- Specified by:
- clearContentin interface- Clearable
 
- 
getMaxStackSizepublic int getMaxStackSize()- Specified by:
- getMaxStackSizein interface- Container
 
- 
setChangedpublic void setChanged()- Specified by:
- setChangedin interface- Container
 
- 
stillValid- Specified by:
- stillValidin interface- Container
 
- 
startOpen
- 
stopOpen
 
-