public class ContainerDispenser extends Container
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, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeListener, resetDrag, retrySlotClick, setCanCraft, slotClick, updateProgressBar
public ContainerDispenser(IInventory playerInventory, IInventory dispenserInventoryIn)
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith
in class Container
@Nullable public ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot
in class Container