类 InfinityChestMenu

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
committee.nova.mods.avaritia.common.menu.InfinityChestMenu

public class InfinityChestMenu extends net.minecraft.world.inventory.AbstractContainerMenu
  • 字段详细资料

    • CONTAINER_SLOT_START

      public static final int CONTAINER_SLOT_START
      另请参阅:
    • CONTAINER_SLOT_SIZE

      public static final int CONTAINER_SLOT_SIZE
      另请参阅:
    • chest

      public final ChestHandler chest
    • player

      public final net.minecraft.world.entity.player.Player player
    • level

      public final net.minecraft.world.level.Level level
    • blockPos

      public final net.minecraft.core.BlockPos blockPos
    • chestTile

      public InfinityChestTile chestTile
    • chestContainer

      public InfinityChestContainer chestContainer
    • LShifting

      public boolean LShifting
    • owner

      public final UUID owner
    • locked

      public boolean locked
    • filter

      public String filter
    • sortType

      public byte sortType
    • channelID

      public UUID channelID
  • 构造器详细资料

    • InfinityChestMenu

      public InfinityChestMenu(int containerId, net.minecraft.world.entity.player.Inventory playerInv, net.minecraft.network.FriendlyByteBuf extraData)
    • InfinityChestMenu

      public InfinityChestMenu(int containerId, net.minecraft.world.entity.player.Player player, InfinityChestTile blockEntity)
  • 方法详细资料

    • clickMenuButton

      @ParametersAreNonnullByDefault public boolean clickMenuButton(net.minecraft.world.entity.player.Player pPlayer, int pId)
      覆盖:
      clickMenuButton 在类中 net.minecraft.world.inventory.AbstractContainerMenu
    • action

      public void action(int actionId, String id)
    • onLeftClickDummySlot

      public void onLeftClickDummySlot(String id)
    • onRightClickDummySlot

      public void onRightClickDummySlot(String id)
    • onLeftShiftDummySlot

      public void onLeftShiftDummySlot(String id)
    • onRightShiftDummySlot

      public void onRightShiftDummySlot(String id)
    • tryThrowOneFromDummySlot

      public void tryThrowOneFromDummySlot(String id)
    • tryThrowStickFromDummySlot

      public void tryThrowStickFromDummySlot(String id)
    • onLeftDragDummySlot

      public void onLeftDragDummySlot(String id)
    • onRightDragDummySlot

      public void onRightDragDummySlot(String id)
    • onCloneFormDummySlot

      public void onCloneFormDummySlot(String id)
    • onDragCloneDummySlot

      public void onDragCloneDummySlot(String id)
    • nextSort

      public void nextSort()
    • reverseSort

      public void reverseSort()
    • clicked

      @ParametersAreNonnullByDefault public void clicked(int pSlotId, int pButton, net.minecraft.world.inventory.ClickType pClickType, net.minecraft.world.entity.player.Player pPlayer)
      覆盖:
      clicked 在类中 net.minecraft.world.inventory.AbstractContainerMenu
    • quickMoveStack

      @ParametersAreNonnullByDefault @NotNull public @NotNull net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player player, int slotId)
      指定者:
      quickMoveStack 在类中 net.minecraft.world.inventory.AbstractContainerMenu
    • canTakeItemForPickAll

      @ParametersAreNonnullByDefault public boolean canTakeItemForPickAll(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.inventory.Slot slot)
      覆盖:
      canTakeItemForPickAll 在类中 net.minecraft.world.inventory.AbstractContainerMenu
    • stillValid

      @ParametersAreNonnullByDefault public boolean stillValid(net.minecraft.world.entity.player.Player player)
      指定者:
      stillValid 在类中 net.minecraft.world.inventory.AbstractContainerMenu
    • removed

      @ParametersAreNonnullByDefault public void removed(net.minecraft.world.entity.player.Player player)
      覆盖:
      removed 在类中 net.minecraft.world.inventory.AbstractContainerMenu