public class InventoryCrafting extends java.lang.Object implements IInventory
Constructor and Description |
---|
InventoryCrafting(Container p_i1807_1_,
int p_i1807_2_,
int p_i1807_3_) |
Modifier and Type | Method and Description |
---|---|
void |
closeInventory() |
ItemStack |
decrStackSize(int p_70298_1_,
int p_70298_2_) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getSizeInventory() |
ItemStack |
getStackInRowAndColumn(int p_70463_1_,
int p_70463_2_) |
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 InventoryCrafting(Container p_i1807_1_, int p_i1807_2_, int p_i1807_3_)
public int getSizeInventory()
getSizeInventory
in interface IInventory
public ItemStack getStackInSlot(int p_70301_1_)
getStackInSlot
in interface IInventory
public ItemStack getStackInRowAndColumn(int p_70463_1_, int p_70463_2_)
public java.lang.String getInventoryName()
getInventoryName
in interface IInventory
public boolean hasCustomInventoryName()
hasCustomInventoryName
in interface IInventory
public ItemStack getStackInSlotOnClosing(int p_70304_1_)
getStackInSlotOnClosing
in interface IInventory
public ItemStack decrStackSize(int p_70298_1_, int p_70298_2_)
decrStackSize
in interface IInventory
public void setInventorySlotContents(int p_70299_1_, ItemStack p_70299_2_)
setInventorySlotContents
in interface IInventory
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public void markDirty()
markDirty
in interface IInventory
public boolean isUseableByPlayer(EntityPlayer p_70300_1_)
isUseableByPlayer
in interface IInventory
public void openInventory()
openInventory
in interface IInventory
public void closeInventory()
closeInventory
in interface IInventory
public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_)
isItemValidForSlot
in interface IInventory