Class BasinInventory
java.lang.Object
net.minecraftforge.items.wrapper.RecipeWrapper
com.simibubi.create.foundation.item.SmartInventory
com.simibubi.create.content.contraptions.processing.BasinInventory
- 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
-
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 TypeMethodDescriptionnet.minecraft.world.item.ItemStackextractItem(int slot, int amount, boolean simulate) default 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, 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
-
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.minecraftforge.items.IItemHandler- Overrides:
insertItemin classSmartInventory
-
extractItem
public net.minecraft.world.item.ItemStack extractItem(int slot, int amount, boolean simulate) - Specified by:
extractItemin interfacenet.minecraftforge.items.IItemHandler- Overrides:
extractItemin classSmartInventory
-
getStackInSlot
default net.minecraft.world.item.ItemStack getStackInSlot(int slot) - Specified by:
getStackInSlotin interfacenet.minecraftforge.items.IItemHandler
-