类 CompressedChestMenu

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
所有已实现的接口:
IDataReceiver

public class CompressedChestMenu extends BaseTileMenu<CompressedChestTile>
  • 字段概要

    从类继承的字段 committee.nova.mods.avaritia.api.common.menu.BaseMenu

    level, player

    从类继承的字段 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.Container
     
    int
     
    @NotNull net.minecraft.world.item.ItemStack
    quickMoveStack(@NotNull net.minecraft.world.entity.player.Player player, int pIndex)
     
    void
    removed(@NotNull net.minecraft.world.entity.player.Player pPlayer)
     
    boolean
    stillValid(@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

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • 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()