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 IInventory
public ItemStack getStackInSlot(int par1)
getStackInSlot
in interface IInventory
public ItemStack getStackInRowAndColumn(int par1, int par2)
public java.lang.String getInventoryName()
getInventoryName
in interface IInventory
public boolean hasCustomInventoryName()
hasCustomInventoryName
in interface IInventory
public ItemStack getStackInSlotOnClosing(int par1)
getStackInSlotOnClosing
in interface IInventory
public ItemStack decrStackSize(int par1, int par2)
decrStackSize
in interface IInventory
public void setInventorySlotContents(int par1, ItemStack par2ItemStack)
setInventorySlotContents
in interface IInventory
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public void markDirty()
markDirty
in interface IInventory
public boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)
isUseableByPlayer
in interface IInventory
public void openInventory()
openInventory
in interface IInventory
public void closeInventory()
closeInventory
in interface IInventory
public boolean isItemValidForSlot(int par1, ItemStack par2ItemStack)
isItemValidForSlot
in interface IInventory