public class DispenserContainer extends Container
Modifier and Type | Field and Description |
---|---|
private IInventory |
dispenserInventory |
inventorySlots, windowId
Constructor and Description |
---|
DispenserContainer(int p_i50087_1_,
PlayerInventory p_i50087_2_) |
DispenserContainer(int p_i50088_1_,
PlayerInventory p_i50088_2_,
IInventory p_i50088_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(PlayerEntity playerIn) |
void |
onContainerClosed(PlayerEntity playerIn) |
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index) |
addListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBar
private final IInventory dispenserInventory
public DispenserContainer(int p_i50087_1_, PlayerInventory p_i50087_2_)
public DispenserContainer(int p_i50088_1_, PlayerInventory p_i50088_2_, IInventory p_i50088_3_)
public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith
in class Container
public ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
transferStackInSlot
in class Container
public void onContainerClosed(PlayerEntity playerIn)
onContainerClosed
in class Container