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) |
void |
setInventorySlotContents(int index,
net.minecraft.item.ItemStack stack,
Port facing) |
clear, closeInventory, decrStackSize, getCustomName, getDisplayName, getField, getFieldCount, getName, getSizeInventory, getStackInSlot, hasCustomName, isEmpty, isItemValidForSlot, isUsableByPlayer, openInventory, readFromNBT, removeStackFromSlot, setField, setInventorySlotContents, writeToNBTclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, closeInventory, decrStackSize, getField, getFieldCount, getHeight, getSizeInventory, getStackInSlot, getWidth, isEmpty, isItemValidForSlot, isUsableByPlayer, openInventory, removeStackFromSlot, setField, setInventorySlotContentspublic InventoryCasing(TileEntityCasing tileEntity)
public void setInventorySlotContents(int index,
net.minecraft.item.ItemStack stack,
Port facing)
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