public class ContainerFurnace extends Container
inventoryItemStacks, inventorySlots, listeners, windowId| Constructor and Description |
|---|
ContainerFurnace(InventoryPlayer playerInventory,
IInventory furnaceInventory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(IContainerListener listener) |
boolean |
canInteractWith(EntityPlayer playerIn)
Determines whether supplied player can use this container
|
void |
detectAndSendChanges()
Looks for changes made in the container, sends them to every listener.
|
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index)
Handle when the stack in slot
index is shift-clicked. |
void |
updateProgressBar(int id,
int data) |
addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClickpublic ContainerFurnace(InventoryPlayer playerInventory, IInventory furnaceInventory)
public void addListener(IContainerListener listener)
addListener 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)
index is shift-clicked. Normally this moves the stack between the player
inventory and the other inventory(s).transferStackInSlot in class Container