public class InventoryCrafting extends java.lang.Object implements IInventory
| Constructor and Description |
|---|
InventoryCrafting(Container par1Container,
int par2,
int par3) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInventory() |
ItemStack |
decrStackSize(int par1,
int par2) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getSizeInventory() |
ItemStack |
getStackInRowAndColumn(int par1,
int par2) |
ItemStack |
getStackInSlot(int par1) |
ItemStack |
getStackInSlotOnClosing(int par1) |
boolean |
hasCustomInventoryName() |
boolean |
isItemValidForSlot(int par1,
ItemStack par2ItemStack) |
boolean |
isUseableByPlayer(EntityPlayer par1EntityPlayer) |
void |
markDirty() |
void |
openInventory() |
void |
setInventorySlotContents(int par1,
ItemStack par2ItemStack) |
public InventoryCrafting(Container par1Container, int par2, int par3)
public int getSizeInventory()
getSizeInventory in interface IInventorypublic ItemStack getStackInSlot(int par1)
getStackInSlot in interface IInventorypublic ItemStack getStackInRowAndColumn(int par1, int par2)
public java.lang.String getInventoryName()
getInventoryName in interface IInventorypublic boolean hasCustomInventoryName()
hasCustomInventoryName in interface IInventorypublic ItemStack getStackInSlotOnClosing(int par1)
getStackInSlotOnClosing in interface IInventorypublic ItemStack decrStackSize(int par1, int par2)
decrStackSize 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