public class InventoryBasic extends java.lang.Object implements IInventory
| Constructor and Description |
|---|
InventoryBasic(java.lang.String p_i1561_1_,
boolean p_i1561_2_,
int p_i1561_3_) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInventory() |
ItemStack |
decrStackSize(int p_70298_1_,
int p_70298_2_) |
void |
func_110132_b(IInvBasic p_110132_1_) |
void |
func_110133_a(java.lang.String p_110133_1_) |
void |
func_110134_a(IInvBasic p_110134_1_) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int p_70301_1_) |
ItemStack |
getStackInSlotOnClosing(int p_70304_1_) |
boolean |
hasCustomInventoryName() |
boolean |
isItemValidForSlot(int p_94041_1_,
ItemStack p_94041_2_) |
boolean |
isUseableByPlayer(EntityPlayer p_70300_1_) |
void |
markDirty() |
void |
openInventory() |
void |
setInventorySlotContents(int p_70299_1_,
ItemStack p_70299_2_) |
public InventoryBasic(java.lang.String p_i1561_1_,
boolean p_i1561_2_,
int p_i1561_3_)
public void func_110134_a(IInvBasic p_110134_1_)
public void func_110132_b(IInvBasic p_110132_1_)
public ItemStack getStackInSlot(int p_70301_1_)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int p_70298_1_, int p_70298_2_)
decrStackSize in interface IInventorypublic ItemStack getStackInSlotOnClosing(int p_70304_1_)
getStackInSlotOnClosing in interface IInventorypublic void setInventorySlotContents(int p_70299_1_,
ItemStack p_70299_2_)
setInventorySlotContents in interface IInventorypublic int getSizeInventory()
getSizeInventory in interface IInventorypublic java.lang.String getInventoryName()
getInventoryName in interface IInventorypublic boolean hasCustomInventoryName()
hasCustomInventoryName in interface IInventorypublic void func_110133_a(java.lang.String p_110133_1_)
public int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic void markDirty()
markDirty in interface IInventorypublic boolean isUseableByPlayer(EntityPlayer p_70300_1_)
isUseableByPlayer in interface IInventorypublic void openInventory()
openInventory in interface IInventorypublic void closeInventory()
closeInventory in interface IInventorypublic boolean isItemValidForSlot(int p_94041_1_,
ItemStack p_94041_2_)
isItemValidForSlot in interface IInventory