Class ShulkerBoxContainer
- java.lang.Object
-
- net.minecraft.inventory.container.Container
-
- net.minecraft.inventory.container.ShulkerBoxContainer
-
public class ShulkerBoxContainer extends Container
-
-
Field Summary
Fields Modifier and Type Field Description private IInventory
container
-
Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots
-
-
Constructor Summary
Constructors Constructor Description ShulkerBoxContainer(int p_i50065_1_, PlayerInventory p_i50065_2_)
ShulkerBoxContainer(int p_i50066_1_, PlayerInventory p_i50066_2_, IInventory p_i50066_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStack
quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
void
removed(PlayerEntity p_75134_1_)
boolean
stillValid(PlayerEntity p_75145_1_)
-
Methods inherited from class net.minecraft.inventory.container.Container
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, slotsChanged, stillValid
-
-
-
-
Field Detail
-
container
private final IInventory container
-
-
Constructor Detail
-
ShulkerBoxContainer
public ShulkerBoxContainer(int p_i50065_1_, PlayerInventory p_i50065_2_)
-
ShulkerBoxContainer
public ShulkerBoxContainer(int p_i50066_1_, PlayerInventory p_i50066_2_, IInventory p_i50066_3_)
-
-
Method Detail
-
stillValid
public boolean stillValid(PlayerEntity p_75145_1_)
- Specified by:
stillValid
in classContainer
-
quickMoveStack
public ItemStack quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
- Overrides:
quickMoveStack
in classContainer
-
removed
public void removed(PlayerEntity p_75134_1_)
-
-