Class MechanicalCrafterTileEntity.Inventory
java.lang.Object
net.minecraftforge.items.wrapper.RecipeWrapper
com.simibubi.create.foundation.item.SmartInventory
com.simibubi.create.content.contraptions.components.crafter.MechanicalCrafterTileEntity.Inventory
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>,net.minecraftforge.items.IItemHandler,net.minecraftforge.items.IItemHandlerModifiable
- Enclosing class:
- MechanicalCrafterTileEntity
-
Field Summary
Fields inherited from class com.simibubi.create.foundation.item.SmartInventory
extractionAllowed, insertionAllowed, stackNonStackables, stackSize, wrappedFields inherited from class net.minecraftforge.items.wrapper.RecipeWrapper
invFields inherited from interface net.minecraft.world.Container
LARGE_MAX_STACK_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.item.ItemStackgetStackInSlot(int slot) net.minecraft.world.item.ItemStackinsertItem(int slot, net.minecraft.world.item.ItemStack stack, boolean simulate) Methods inherited from class com.simibubi.create.foundation.item.SmartInventory
allowExtraction, allowInsertion, deserializeNBT, extractItem, forbidExtraction, forbidInsertion, getItem, getSlotLimit, getSlots, getStackInSlotIntermediate, getStackLimit, isItemValid, serializeNBT, setStackInSlot, whenContentsChanged, withMaxStackSizeMethods inherited from class net.minecraftforge.items.wrapper.RecipeWrapper
canPlaceItem, clearContent, getContainerSize, getMaxStackSize, isEmpty, removeItem, removeItemNoUpdate, setChanged, setItem, startOpen, stillValid, stopOpenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.Container
countItem, hasAnyOf
-
Constructor Details
-
Inventory
-
-
Method Details
-
insertItem
public net.minecraft.world.item.ItemStack insertItem(int slot, net.minecraft.world.item.ItemStack stack, boolean simulate) - Specified by:
insertItemin interfacenet.minecraftforge.items.IItemHandler- Overrides:
insertItemin classSmartInventory
-
getStackInSlot
default net.minecraft.world.item.ItemStack getStackInSlot(int slot) - Specified by:
getStackInSlotin interfacenet.minecraftforge.items.IItemHandler
-