public class ContainerDispenser extends Container
Modifier and Type | Field and Description |
---|---|
private IInventory |
dispenserInventory |
inventoryItemStacks, inventorySlots, listeners, windowId
Constructor and Description |
---|
ContainerDispenser(IInventory playerInventory,
IInventory dispenserInventoryIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(EntityPlayer playerIn) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
addListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClick, updateProgressBar
private final IInventory dispenserInventory
public ContainerDispenser(IInventory playerInventory, IInventory dispenserInventoryIn)
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith
in class Container
public ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot
in class Container