public class InventoryLargeChest extends java.lang.Object implements IInventory
| Constructor and Description |
|---|
InventoryLargeChest(java.lang.String par1Str,
IInventory par2IInventory,
IInventory par3IInventory) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInventory() |
ItemStack |
decrStackSize(int par1,
int par2) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int par1) |
ItemStack |
getStackInSlotOnClosing(int par1) |
boolean |
hasCustomInventoryName() |
boolean |
isItemValidForSlot(int par1,
ItemStack par2ItemStack) |
boolean |
isPartOfLargeChest(IInventory par1IInventory) |
boolean |
isUseableByPlayer(EntityPlayer par1EntityPlayer) |
void |
markDirty() |
void |
openInventory() |
void |
setInventorySlotContents(int par1,
ItemStack par2ItemStack) |
public InventoryLargeChest(java.lang.String par1Str,
IInventory par2IInventory,
IInventory par3IInventory)
public int getSizeInventory()
getSizeInventory in interface IInventorypublic boolean isPartOfLargeChest(IInventory par1IInventory)
public java.lang.String getInventoryName()
getInventoryName in interface IInventorypublic boolean hasCustomInventoryName()
hasCustomInventoryName in interface IInventorypublic ItemStack getStackInSlot(int par1)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int par1, int par2)
decrStackSize in interface IInventorypublic ItemStack getStackInSlotOnClosing(int par1)
getStackInSlotOnClosing in interface IInventorypublic void setInventorySlotContents(int par1,
ItemStack par2ItemStack)
setInventorySlotContents in interface IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic void markDirty()
markDirty in interface IInventorypublic boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)
isUseableByPlayer in interface IInventorypublic void openInventory()
openInventory in interface IInventorypublic void closeInventory()
closeInventory in interface IInventorypublic boolean isItemValidForSlot(int par1,
ItemStack par2ItemStack)
isItemValidForSlot in interface IInventory