Class BasinInventory
java.lang.Object
com.simibubi.create.foundation.blockEntity.LegacyRecipeWrapper
com.simibubi.create.foundation.item.SmartInventory
com.simibubi.create.content.processing.basin.BasinInventory
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.minecraft.world.item.crafting.RecipeInput,net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>,net.neoforged.neoforge.items.IItemHandler,net.neoforged.neoforge.items.IItemHandlerModifiable
-
Field Summary
FieldsFields inherited from class com.simibubi.create.foundation.item.SmartInventory
extractionAllowed, insertionAllowed, stackNonStackables, stackSize, wrappedFields inherited from class com.simibubi.create.foundation.blockEntity.LegacyRecipeWrapper
invFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackextractItem(int slot, int amount, boolean simulate) 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, forbidExtraction, forbidInsertion, getSlotLimit, getSlots, getStackInSlot, getStackLimit, isItemValid, serializeNBT, setStackInSlot, whenContentsChanged, withMaxStackSizeMethods inherited from class com.simibubi.create.foundation.blockEntity.LegacyRecipeWrapper
canPlaceItem, clearContent, getContainerSize, getItem, getMaxStackSize, isEmpty, removeItem, removeItemNoUpdate, setChanged, setItem, size, 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
-
Field Details
-
packagerMode
public boolean packagerMode
-
-
Constructor Details
-
BasinInventory
-
-
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
-
extractItem
public net.minecraft.world.item.ItemStack extractItem(int slot, int amount, boolean simulate) - Specified by:
extractItemin interfacenet.neoforged.neoforge.items.IItemHandler- Overrides:
extractItemin classSmartInventory
-