public class ShulkerBoxContainer extends Container
Modifier and Type | Field and Description |
---|---|
private IInventory |
inventory |
inventorySlots, windowId
Constructor and Description |
---|
ShulkerBoxContainer(int p_i50065_1_,
PlayerInventory p_i50065_2_) |
ShulkerBoxContainer(int p_i50066_1_,
PlayerInventory p_i50066_2_,
IInventory p_i50066_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 inventory
public ShulkerBoxContainer(int p_i50065_1_, PlayerInventory p_i50065_2_)
public ShulkerBoxContainer(int p_i50066_1_, PlayerInventory p_i50066_2_, IInventory p_i50066_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