Class BlockEntityWorking.Inventory<T extends BlockEntityWorking<T,?>>
java.lang.Object
org.cyclops.cyclopscore.inventory.SimpleInventory
org.cyclops.evilcraft.core.blockentity.BlockEntityWorking.Inventory<T>
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.minecraft.world.WorldlyContainer,org.cyclops.cyclopscore.inventory.INBTInventory,org.cyclops.cyclopscore.persist.nbt.INBTSerializable
- Direct Known Subclasses:
BlockEntityBloodInfuser.Inventory,BlockEntitySanguinaryEnvironmentalAccumulator.Inventory
- Enclosing class:
- BlockEntityWorking<T extends BlockEntityWorking<T,
O>, O>
public static class BlockEntityWorking.Inventory<T extends BlockEntityWorking<T,?>>
extends org.cyclops.cyclopscore.inventory.SimpleInventory
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cyclops.cyclopscore.persist.nbt.INBTSerializable
org.cyclops.cyclopscore.persist.nbt.INBTSerializable.SelfNBTClassType -
Field Summary
FieldsFields inherited from class org.cyclops.cyclopscore.inventory.SimpleInventory
contentsFields inherited from interface net.minecraft.world.Container
LARGE_MAX_STACK_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlaceItem(int slot, net.minecraft.world.item.ItemStack itemStack) net.minecraft.world.item.ItemStackremoveItem(int slotId, int count) voidsetItem(int slotId, net.minecraft.world.item.ItemStack itemStack) Methods inherited from class org.cyclops.cyclopscore.inventory.SimpleInventory
addDirtyMarkListener, canPlaceItemThroughFace, canTakeItemThroughFace, clearContent, fromNBT, getContainerSize, getItem, getItemHandler, getItemHandlerSided, getItemStacks, getMaxStackSize, getSlotsForFace, getState, isEmpty, onInventoryChanged, read, readFromNBT, removeDirtyMarkListener, removeItemNoUpdate, setChanged, startOpen, stillValid, stopOpen, toNBT, write, writeToNBTMethods 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, hasAnyMatching, hasAnyOf
-
Field Details
-
tile
-
-
Constructor Details
-
Inventory
-
-
Method Details
-
removeItem
public net.minecraft.world.item.ItemStack removeItem(int slotId, int count) - Specified by:
removeItemin interfacenet.minecraft.world.Container- Overrides:
removeItemin classorg.cyclops.cyclopscore.inventory.SimpleInventory
-
setItem
public void setItem(int slotId, net.minecraft.world.item.ItemStack itemStack) - Specified by:
setItemin interfacenet.minecraft.world.Container- Overrides:
setItemin classorg.cyclops.cyclopscore.inventory.SimpleInventory
-
canPlaceItem
public boolean canPlaceItem(int slot, net.minecraft.world.item.ItemStack itemStack) - Specified by:
canPlaceItemin interfacenet.minecraft.world.Container- Overrides:
canPlaceItemin classorg.cyclops.cyclopscore.inventory.SimpleInventory
-