public class InventoryCrafting extends java.lang.Object implements IInventory
| Constructor and Description |
|---|
InventoryCrafting(Container container,
int i,
int j) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(EntityPlayer entityplayer) |
ItemStack |
decrStackSize(int i,
int j) |
ItemStack |
func_21103_b(int i,
int j) |
int |
getInventoryStackLimit() |
java.lang.String |
getInvName() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int i) |
void |
onInventoryChanged() |
void |
setInventorySlotContents(int i,
ItemStack itemstack) |
public InventoryCrafting(Container container, int i, int j)
public int getSizeInventory()
getSizeInventory in interface IInventorypublic ItemStack getStackInSlot(int i)
getStackInSlot in interface IInventorypublic ItemStack func_21103_b(int i, int j)
public java.lang.String getInvName()
getInvName in interface IInventorypublic ItemStack decrStackSize(int i, int j)
decrStackSize in interface IInventorypublic void setInventorySlotContents(int i,
ItemStack itemstack)
setInventorySlotContents in interface IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic void onInventoryChanged()
onInventoryChanged in interface IInventorypublic boolean canInteractWith(EntityPlayer entityplayer)
canInteractWith in interface IInventory