类 CompressedChestMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
committee.nova.mods.avaritia.api.common.menu.BaseMenu
committee.nova.mods.avaritia.api.common.menu.BaseTileMenu<CompressedChestTile>
committee.nova.mods.avaritia.common.menu.CompressedChestMenu
- 所有已实现的接口:
IDataReceiver
-
字段概要
从类继承的字段 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 -
构造器概要
构造器构造器说明CompressedChestMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.core.BlockPos pos, int pRows) CompressedChestMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer) -
方法概要
修饰符和类型方法说明net.minecraft.world.Containerint@NotNull net.minecraft.world.item.ItemStackquickMoveStack(@NotNull net.minecraft.world.entity.player.Player player, int pIndex) voidremoved(@NotNull net.minecraft.world.entity.player.Player pPlayer) booleanstillValid(@NotNull net.minecraft.world.entity.player.Player player) 从类继承的方法 committee.nova.mods.avaritia.api.common.menu.BaseTileMenu
getTileEntity从类继承的方法 committee.nova.mods.avaritia.api.common.menu.BaseMenu
createInventorySlots, createInventorySlots, receive, sendMessage从类继承的方法 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, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
构造器详细资料
-
CompressedChestMenu
public CompressedChestMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer) -
CompressedChestMenu
public CompressedChestMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.core.BlockPos pos, int pRows)
-
-
方法详细资料
-
quickMoveStack
@NotNull public @NotNull net.minecraft.world.item.ItemStack quickMoveStack(@NotNull @NotNull net.minecraft.world.entity.player.Player player, int pIndex) - 覆盖:
quickMoveStack在类中BaseMenu
-
removed
public void removed(@NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer) - 覆盖:
removed在类中net.minecraft.world.inventory.AbstractContainerMenu
-
stillValid
public boolean stillValid(@NotNull @NotNull net.minecraft.world.entity.player.Player player) - 覆盖:
stillValid在类中BaseTileMenu<CompressedChestTile>
-
getRowCount
public int getRowCount() -
getContainer
public net.minecraft.world.Container getContainer()
-