Class ChestMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.ChestMenu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddChestGrid(Container container, int left, int top) static ChestMenustatic ChestMenuintstatic ChestMenuquickMoveStack(Player player, int slotIndex) voidstatic ChestMenustatic ChestMenubooleanstillValid(Player player) static ChestMenustatic ChestMenustatic ChestMenuMethods inherited from class AbstractContainerMenu
addDataSlot, addDataSlots, addInventoryExtendedSlots, addInventoryHotbarSlots, addSlot, addSlotListener, addStandardInventorySlots, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotUnsafe, setSelectedBundleItemIndex, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
container
-
containerRows
private final int containerRows
-
-
Constructor Details
-
ChestMenu
-
ChestMenu
-
-
Method Details
-
oneRow
-
twoRows
-
threeRows
-
fourRows
-
fiveRows
-
sixRows
-
threeRows
-
sixRows
-
addChestGrid
-
stillValid
- Specified by:
stillValidin classAbstractContainerMenu
-
quickMoveStack
- Specified by:
quickMoveStackin classAbstractContainerMenu
-
removed
- Overrides:
removedin classAbstractContainerMenu
-
getContainer
-
getRowCount
public int getRowCount()
-