public static class TileWorking.Inventory<T extends TileWorking<T,?>>
extends org.cyclops.cyclopscore.inventory.SimpleInventory
| Constructor and Description |
|---|
Inventory(int size,
int stackLimit,
T tile) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
decrStackSize(int slotId,
int count) |
boolean |
isItemValidForSlot(int slot,
net.minecraft.item.ItemStack itemStack) |
void |
setInventorySlotContents(int slotId,
net.minecraft.item.ItemStack itemStack) |
addDirtyMarkListener, canExtractItem, canInsertItem, clear, closeInventory, fromNBT, getInventoryStackLimit, getItemHandler, getItemHandlerSided, getItemStacks, getSizeInventory, getSlotsForFace, getStackInSlot, getState, isEmpty, isUsableByPlayer, markDirty, onInventoryChanged, openInventory, read, readFromNBT, removeDirtyMarkListener, removeStackFromSlot, toNBT, write, writeToNBTprotected final T extends TileWorking<T,?> tile
public Inventory(int size,
int stackLimit,
T tile)
public net.minecraft.item.ItemStack decrStackSize(int slotId,
int count)
decrStackSize in interface net.minecraft.inventory.IInventorydecrStackSize in class org.cyclops.cyclopscore.inventory.SimpleInventorypublic void setInventorySlotContents(int slotId,
net.minecraft.item.ItemStack itemStack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorysetInventorySlotContents in class org.cyclops.cyclopscore.inventory.SimpleInventorypublic boolean isItemValidForSlot(int slot,
net.minecraft.item.ItemStack itemStack)
isItemValidForSlot in interface net.minecraft.inventory.IInventoryisItemValidForSlot in class org.cyclops.cyclopscore.inventory.SimpleInventory