Class ArmorTableMenu

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.hbm_m.armormod.menu.ArmorTableMenu

public class ArmorTableMenu extends net.minecraft.world.inventory.AbstractContainerMenu
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Как в 1.7.10 ContainerArmorTable: слоты модов 0..8, центральная броня — 9.
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields 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

    Constructors
    Constructor
    Description
    ArmorTableMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.core.BlockPos pPos)
     
    ArmorTableMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.network.FriendlyByteBuf extraData)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    quickMoveStack(net.minecraft.world.entity.player.Player pPlayer, int pIndex)
     
    void
    removed(net.minecraft.world.entity.player.Player pPlayer)
     
    boolean
    stillValid(net.minecraft.world.entity.player.Player pPlayer)
     

    Methods 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, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MOD_SLOTS

      public static final int MOD_SLOTS
      Как в 1.7.10 ContainerArmorTable: слоты модов 0..8, центральная броня — 9.
      See Also:
    • SLOT_ARMOR_IN

      public static final int SLOT_ARMOR_IN
      See Also:
    • SLOT_ARMOR_SIDE_HELMET

      public static final int SLOT_ARMOR_SIDE_HELMET
      See Also:
    • SLOT_ARMOR_SIDE_CHEST

      public static final int SLOT_ARMOR_SIDE_CHEST
      See Also:
    • SLOT_ARMOR_SIDE_LEGS

      public static final int SLOT_ARMOR_SIDE_LEGS
      See Also:
    • SLOT_ARMOR_SIDE_BOOTS

      public static final int SLOT_ARMOR_SIDE_BOOTS
      See Also:
  • Constructor Details

    • ArmorTableMenu

      public ArmorTableMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.core.BlockPos pPos)
    • ArmorTableMenu

      public ArmorTableMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.network.FriendlyByteBuf extraData)
  • Method Details

    • removed

      public void removed(net.minecraft.world.entity.player.Player pPlayer)
      Overrides:
      removed in class net.minecraft.world.inventory.AbstractContainerMenu
    • quickMoveStack

      public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player pPlayer, int pIndex)
      Specified by:
      quickMoveStack in class net.minecraft.world.inventory.AbstractContainerMenu
    • stillValid

      public boolean stillValid(net.minecraft.world.entity.player.Player pPlayer)
      Specified by:
      stillValid in class net.minecraft.world.inventory.AbstractContainerMenu