Package com.hbm_m.inventory.menu
Class TungstenCrateMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.hbm_m.inventory.menu.BaseCrateMenu
com.hbm_m.inventory.menu.TungstenCrateMenu
-
Field Summary
Fields inherited from class com.hbm_m.inventory.menu.BaseCrateMenu
blockEntity, crateType, levelFields 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
ConstructorsConstructorDescriptionTungstenCrateMenu(int containerId, net.minecraft.world.entity.player.Inventory inv, net.minecraft.network.FriendlyByteBuf extraData) TungstenCrateMenu(int containerId, net.minecraft.world.entity.player.Inventory inv, net.minecraft.world.level.block.entity.BlockEntity entity) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.world.level.block.BlockgetBlock()Блок, к которому привязано меню (для stillValid).Methods inherited from class com.hbm_m.inventory.menu.BaseCrateMenu
getBlockEntity, quickMoveStack, stillValidMethods 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, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Constructor Details
-
TungstenCrateMenu
public TungstenCrateMenu(int containerId, net.minecraft.world.entity.player.Inventory inv, net.minecraft.network.FriendlyByteBuf extraData) -
TungstenCrateMenu
public TungstenCrateMenu(int containerId, net.minecraft.world.entity.player.Inventory inv, net.minecraft.world.level.block.entity.BlockEntity entity)
-
-
Method Details
-
getBlock
protected net.minecraft.world.level.block.Block getBlock()Description copied from class:BaseCrateMenuБлок, к которому привязано меню (для stillValid).- Specified by:
getBlockin classBaseCrateMenu
-