public final class InventoryCasing extends Inventory implements net.minecraft.inventory.ISidedInventory
| Constructor and Description |
|---|
InventoryCasing(TileEntityCasing tileEntity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int index,
net.minecraft.item.ItemStack stack,
net.minecraft.util.EnumFacing side) |
boolean |
canInsertItem(int index,
net.minecraft.item.ItemStack stack,
net.minecraft.util.EnumFacing side) |
int |
getInventoryStackLimit() |
int[] |
getSlotsForFace(net.minecraft.util.EnumFacing side) |
void |
markDirty() |
protected void |
onItemAdded(int index) |
protected void |
onItemRemoved(int index) |
clear, closeInventory, decrStackSize, getDisplayName, getField, getFieldCount, getName, getSizeInventory, getStackInSlot, hasCustomName, isItemValidForSlot, isUseableByPlayer, openInventory, readFromNBT, removeStackFromSlot, setField, setInventorySlotContents, writeToNBTclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic InventoryCasing(TileEntityCasing tileEntity)
public int getInventoryStackLimit()
getInventoryStackLimit in interface net.minecraft.inventory.IInventorygetInventoryStackLimit in class Inventorypublic void markDirty()
public int[] getSlotsForFace(net.minecraft.util.EnumFacing side)
getSlotsForFace in interface net.minecraft.inventory.ISidedInventorypublic boolean canInsertItem(int index,
net.minecraft.item.ItemStack stack,
net.minecraft.util.EnumFacing side)
canInsertItem in interface net.minecraft.inventory.ISidedInventorypublic boolean canExtractItem(int index,
net.minecraft.item.ItemStack stack,
net.minecraft.util.EnumFacing side)
canExtractItem in interface net.minecraft.inventory.ISidedInventoryprotected void onItemAdded(int index)
onItemAdded in class Inventoryprotected void onItemRemoved(int index)
onItemRemoved in class Inventory