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 IInventory
public java.lang.String getInvName()
getInvName
in interface IInventory
public ItemStack getStackInSlot(int i)
getStackInSlot
in interface IInventory
public ItemStack decrStackSize(int i, int j)
decrStackSize
in interface IInventory
public void setInventorySlotContents(int i, ItemStack itemstack)
setInventorySlotContents
in interface IInventory
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public void onInventoryChanged()
onInventoryChanged
in interface IInventory
public boolean canInteractWith(EntityPlayer entityplayer)
canInteractWith
in interface IInventory