public class ContainerShulkerBox extends Container
inventoryItemStacks, inventorySlots, listeners, windowId| Constructor and Description |
|---|
ContainerShulkerBox(InventoryPlayer p_i47266_1_,
IInventory p_i47266_2_,
EntityPlayer p_i47266_3_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(EntityPlayer playerIn)
Determines whether supplied player can use this container
|
void |
onContainerClosed(EntityPlayer playerIn)
Called when the container is closed.
|
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index)
Handle when the stack in slot
index is shift-clicked. |
addListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClick, updateProgressBarpublic ContainerShulkerBox(InventoryPlayer p_i47266_1_, IInventory p_i47266_2_, EntityPlayer p_i47266_3_)
public 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 Containerpublic void onContainerClosed(EntityPlayer playerIn)
onContainerClosed in class Container