Package net.minecraft.world.inventory
Class DispenserMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.DispenserMenu
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Container
private static final int
private static final int
private static final int
private static final int
private static final int
Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu
CARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots
-
Constructor Summary
ConstructorDescriptionDispenserMenu
(int p_39433_, Inventory p_39434_) DispenserMenu
(int p_39436_, Inventory p_39437_, Container p_39438_) -
Method Summary
Modifier and TypeMethodDescriptionquickMoveStack
(Player p_39444_, int p_39445_) void
boolean
stillValid
(Player p_39440_) Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
SLOT_COUNT
private static final int SLOT_COUNT- See Also:
-
INV_SLOT_START
private static final int INV_SLOT_START- See Also:
-
INV_SLOT_END
private static final int INV_SLOT_END- See Also:
-
USE_ROW_SLOT_START
private static final int USE_ROW_SLOT_START- See Also:
-
USE_ROW_SLOT_END
private static final int USE_ROW_SLOT_END- See Also:
-
dispenser
-
-
Constructor Details
-
DispenserMenu
-
DispenserMenu
-
-
Method Details
-
stillValid
- Specified by:
stillValid
in classAbstractContainerMenu
-
quickMoveStack
- Specified by:
quickMoveStack
in classAbstractContainerMenu
-
removed
- Overrides:
removed
in classAbstractContainerMenu
-