类 ExtremeSmithingMenu

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

public class ExtremeSmithingMenu extends net.minecraft.world.inventory.ItemCombinerMenu
  • 字段概要

    从类继承的字段 net.minecraft.world.inventory.ItemCombinerMenu

    access, inputSlots, player, resultSlots

    从类继承的字段 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
  • 构造器概要

    构造器
    构造器
    说明
    ExtremeSmithingMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer)
     
    ExtremeSmithingMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.world.inventory.ContainerLevelAccess access)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    canMoveIntoInputSlots(@NotNull net.minecraft.world.item.ItemStack pStack)
     
    boolean
    canTakeItemForPickAll(@NotNull net.minecraft.world.item.ItemStack pStack, net.minecraft.world.inventory.Slot pSlot)
     
    protected @NotNull net.minecraft.world.inventory.ItemCombinerMenuSlotDefinition
     
    void
     
    int
    getSlotToQuickMoveTo(@NotNull net.minecraft.world.item.ItemStack pStack)
     
    protected boolean
    isValidBlock(@NotNull net.minecraft.world.level.block.state.BlockState pState)
     
    protected boolean
    mayPickup(@NotNull net.minecraft.world.entity.player.Player pPlayer, boolean pHasStack)
     
    protected void
    onTake(@NotNull net.minecraft.world.entity.player.Player pPlayer, @NotNull net.minecraft.world.item.ItemStack pStack)
     
    boolean
    stillValid(@NotNull net.minecraft.world.entity.player.Player pPlayer)
     

    从类继承的方法 net.minecraft.world.inventory.ItemCombinerMenu

    getResultSlot, quickMoveStack, removed, slotsChanged

    从类继承的方法 net.minecraft.world.inventory.AbstractContainerMenu

    addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, 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, stillValid, suppressRemoteUpdates, transferState

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

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

    • ExtremeSmithingMenu

      public ExtremeSmithingMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer)
    • ExtremeSmithingMenu

      public ExtremeSmithingMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.world.inventory.ContainerLevelAccess access)
  • 方法详细资料

    • mayPickup

      protected boolean mayPickup(@NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer, boolean pHasStack)
      指定者:
      mayPickup 在类中 net.minecraft.world.inventory.ItemCombinerMenu
    • onTake

      protected void onTake(@NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer, @NotNull @NotNull net.minecraft.world.item.ItemStack pStack)
      指定者:
      onTake 在类中 net.minecraft.world.inventory.ItemCombinerMenu
    • isValidBlock

      protected boolean isValidBlock(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState)
      指定者:
      isValidBlock 在类中 net.minecraft.world.inventory.ItemCombinerMenu
    • stillValid

      public boolean stillValid(@NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer)
      覆盖:
      stillValid 在类中 net.minecraft.world.inventory.ItemCombinerMenu
    • createResult

      public void createResult()
      指定者:
      createResult 在类中 net.minecraft.world.inventory.ItemCombinerMenu
    • createInputSlotDefinitions

      @NotNull protected @NotNull net.minecraft.world.inventory.ItemCombinerMenuSlotDefinition createInputSlotDefinitions()
      指定者:
      createInputSlotDefinitions 在类中 net.minecraft.world.inventory.ItemCombinerMenu
    • getSlotToQuickMoveTo

      public int getSlotToQuickMoveTo(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack)
      覆盖:
      getSlotToQuickMoveTo 在类中 net.minecraft.world.inventory.ItemCombinerMenu
    • canTakeItemForPickAll

      public boolean canTakeItemForPickAll(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack, net.minecraft.world.inventory.Slot pSlot)
      覆盖:
      canTakeItemForPickAll 在类中 net.minecraft.world.inventory.AbstractContainerMenu
    • canMoveIntoInputSlots

      public boolean canMoveIntoInputSlots(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack)
      覆盖:
      canMoveIntoInputSlots 在类中 net.minecraft.world.inventory.ItemCombinerMenu