Class MechanicalCrafterBlockEntity.Inventory
java.lang.Object
com.simibubi.create.foundation.blockEntity.ItemHandlerContainer
com.simibubi.create.foundation.item.SmartInventory
com.simibubi.create.content.kinetics.crafter.MechanicalCrafterBlockEntity.Inventory
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>,net.neoforged.neoforge.items.IItemHandler,net.neoforged.neoforge.items.IItemHandlerModifiable
- Enclosing class:
MechanicalCrafterBlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.item.SmartInventory
SmartInventory.SyncedStackHandler -
Field Summary
Fields inherited from class com.simibubi.create.foundation.item.SmartInventory
extractionAllowed, insertionAllowed, stackNonStackables, stackSize, wrappedFields inherited from class com.simibubi.create.foundation.blockEntity.ItemHandlerContainer
invFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.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, getSlotLimit, getSlots, getStackInSlot, getStackLimit, isItemValid, serializeNBT, setStackInSlot, whenContentsChanged, withMaxStackSizeMethods inherited from class com.simibubi.create.foundation.blockEntity.ItemHandlerContainer
canPlaceItem, clearContent, getContainerSize, getItem, 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
canTakeItem, countItem, getMaxStackSize, hasAnyMatching, 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.neoforged.neoforge.items.IItemHandler- Overrides:
insertItemin classSmartInventory
-