public class InventoryLargeChest extends java.lang.Object implements IInventory
| Constructor and Description |
|---|
InventoryLargeChest(java.lang.String s,
IInventory iinventory,
IInventory iinventory1) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(EntityPlayer entityplayer) |
ItemStack |
decrStackSize(int i,
int j) |
int |
getInventoryStackLimit() |
java.lang.String |
getInvName() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int i) |
void |
onInventoryChanged() |
void |
setInventorySlotContents(int i,
ItemStack itemstack) |
public InventoryLargeChest(java.lang.String s,
IInventory iinventory,
IInventory iinventory1)
public int getSizeInventory()
getSizeInventory in interface IInventorypublic java.lang.String getInvName()
getInvName in interface IInventorypublic ItemStack getStackInSlot(int i)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int i, int j)
decrStackSize in interface IInventorypublic void setInventorySlotContents(int i,
ItemStack itemstack)
setInventorySlotContents in interface IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic void onInventoryChanged()
onInventoryChanged in interface IInventorypublic boolean canInteractWith(EntityPlayer entityplayer)
canInteractWith in interface IInventory