public class ContainerPlayer extends Container
Modifier and Type | Field and Description |
---|---|
InventoryCrafting |
craftMatrix |
IInventory |
craftResult |
boolean |
isSinglePlayer |
field_20121_g, field_20123_d, slots, windowId
Constructor and Description |
---|
ContainerPlayer(InventoryPlayer inventoryplayer) |
ContainerPlayer(InventoryPlayer inventoryplayer,
boolean flag) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getStackInSlot(int i) |
boolean |
isUsableByPlayer(EntityPlayer entityplayer) |
void |
onCraftGuiClosed(EntityPlayer entityplayer) |
void |
onCraftMatrixChanged(IInventory iinventory) |
addSlot, func_20110_b, func_20111_a, func_20112_a, func_20113_a, func_27280_a, func_28125_a, getSlot, putStackInSlot, putStacksInSlots, updateCraftingResults
public InventoryCrafting craftMatrix
public IInventory craftResult
public boolean isSinglePlayer
public ContainerPlayer(InventoryPlayer inventoryplayer)
public ContainerPlayer(InventoryPlayer inventoryplayer, boolean flag)
public void onCraftMatrixChanged(IInventory iinventory)
onCraftMatrixChanged
in class Container
public void onCraftGuiClosed(EntityPlayer entityplayer)
onCraftGuiClosed
in class Container
public boolean isUsableByPlayer(EntityPlayer entityplayer)
isUsableByPlayer
in class Container
public ItemStack getStackInSlot(int i)
getStackInSlot
in class Container