public class Slot
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
IInventory |
inventory |
int |
slotNumber |
int |
xDisplayPosition |
int |
yDisplayPosition |
Constructor and Description |
---|
Slot(IInventory p_i1824_1_,
int p_i1824_2_,
int p_i1824_3_,
int p_i1824_4_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTakeStack(EntityPlayer p_82869_1_) |
ItemStack |
decrStackSize(int p_75209_1_) |
boolean |
func_111238_b() |
IIcon |
getBackgroundIconIndex() |
boolean |
getHasStack() |
int |
getSlotStackLimit() |
ItemStack |
getStack() |
boolean |
isItemValid(ItemStack p_75214_1_) |
boolean |
isSlotInInventory(IInventory p_75217_1_,
int p_75217_2_) |
protected void |
onCrafting(ItemStack p_75208_1_) |
protected void |
onCrafting(ItemStack p_75210_1_,
int p_75210_2_) |
void |
onPickupFromSlot(EntityPlayer p_82870_1_,
ItemStack p_82870_2_) |
void |
onSlotChange(ItemStack p_75220_1_,
ItemStack p_75220_2_) |
void |
onSlotChanged() |
void |
putStack(ItemStack p_75215_1_) |
public final IInventory inventory
public int slotNumber
public int xDisplayPosition
public int yDisplayPosition
public Slot(IInventory p_i1824_1_, int p_i1824_2_, int p_i1824_3_, int p_i1824_4_)
protected void onCrafting(ItemStack p_75210_1_, int p_75210_2_)
protected void onCrafting(ItemStack p_75208_1_)
public void onPickupFromSlot(EntityPlayer p_82870_1_, ItemStack p_82870_2_)
public boolean isItemValid(ItemStack p_75214_1_)
public ItemStack getStack()
public boolean getHasStack()
public void putStack(ItemStack p_75215_1_)
public void onSlotChanged()
public int getSlotStackLimit()
public ItemStack decrStackSize(int p_75209_1_)
public boolean isSlotInInventory(IInventory p_75217_1_, int p_75217_2_)
public boolean canTakeStack(EntityPlayer p_82869_1_)
public IIcon getBackgroundIconIndex()
public boolean func_111238_b()