public class ContainerFurnace extends Container
| Modifier and Type | Field and Description |
|---|---|
private int |
field_178152_f |
private int |
field_178153_g |
private int |
field_178154_h |
private int |
field_178155_i |
private IInventory |
tileFurnace |
crafters, inventoryItemStacks, inventorySlots, windowId| Constructor and Description |
|---|
ContainerFurnace(InventoryPlayer playerInventory,
IInventory furnaceInventory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(EntityPlayer playerIn) |
void |
detectAndSendChanges()
Looks for changes made in the container, sends them to every listener.
|
void |
onCraftGuiOpened(ICrafting listener) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index)
Take a stack from the specified inventory slot.
|
void |
updateProgressBar(int id,
int data) |
addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, enchantItem, extractDragMode, func_94534_d, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, retrySlotClick, setCanCraft, slotClickprivate final IInventory tileFurnace
private int field_178152_f
private int field_178153_g
private int field_178154_h
private int field_178155_i
public ContainerFurnace(InventoryPlayer playerInventory, IInventory furnaceInventory)
public void onCraftGuiOpened(ICrafting listener)
onCraftGuiOpened in class Containerpublic void detectAndSendChanges()
detectAndSendChanges in class Containerpublic void updateProgressBar(int id,
int data)
updateProgressBar in class Containerpublic boolean canInteractWith(EntityPlayer playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot in class Container