Class SpectatorMenu

java.lang.Object
net.minecraft.client.gui.hud.spectator.SpectatorMenu

@Environment(CLIENT) public class SpectatorMenu extends Object
Mappings:
Namespace Name
official ezp
intermediary net/minecraft/class_531
named net/minecraft/client/gui/hud/spectator/SpectatorMenu
  • Field Details

    • CLOSE_COMMAND

      private static final SpectatorMenuCommand CLOSE_COMMAND
      Mappings:
      Namespace Name Mixin selector
      official b Lezp;b:Lezr;
      intermediary field_3261 Lnet/minecraft/class_531;field_3261:Lnet/minecraft/class_537;
      named CLOSE_COMMAND Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;CLOSE_COMMAND:Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;
    • PREVIOUS_PAGE_COMMAND

      private static final SpectatorMenuCommand PREVIOUS_PAGE_COMMAND
      Mappings:
      Namespace Name Mixin selector
      official c Lezp;c:Lezr;
      intermediary field_3262 Lnet/minecraft/class_531;field_3262:Lnet/minecraft/class_537;
      named PREVIOUS_PAGE_COMMAND Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;PREVIOUS_PAGE_COMMAND:Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;
    • NEXT_PAGE_COMMAND

      private static final SpectatorMenuCommand NEXT_PAGE_COMMAND
      Mappings:
      Namespace Name Mixin selector
      official d Lezp;d:Lezr;
      intermediary field_3256 Lnet/minecraft/class_531;field_3256:Lnet/minecraft/class_537;
      named NEXT_PAGE_COMMAND Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;NEXT_PAGE_COMMAND:Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;
    • DISABLED_NEXT_PAGE_COMMAND

      private static final SpectatorMenuCommand DISABLED_NEXT_PAGE_COMMAND
      Mappings:
      Namespace Name Mixin selector
      official e Lezp;e:Lezr;
      intermediary field_3259 Lnet/minecraft/class_531;field_3259:Lnet/minecraft/class_537;
      named DISABLED_NEXT_PAGE_COMMAND Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;DISABLED_NEXT_PAGE_COMMAND:Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;
    • CLOSE_SLOT

      private static final int CLOSE_SLOT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lezp;f:I
      intermediary field_32443 Lnet/minecraft/class_531;field_32443:I
      named CLOSE_SLOT Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;CLOSE_SLOT:I
    • CLOSE_TEXT

      static final Text CLOSE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official g Lezp;g:Lsw;
      intermediary field_26613 Lnet/minecraft/class_531;field_26613:Lnet/minecraft/class_2561;
      named CLOSE_TEXT Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;CLOSE_TEXT:Lnet/minecraft/text/Text;
    • PREVIOUS_PAGE_TEXT

      static final Text PREVIOUS_PAGE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official h Lezp;h:Lsw;
      intermediary field_26614 Lnet/minecraft/class_531;field_26614:Lnet/minecraft/class_2561;
      named PREVIOUS_PAGE_TEXT Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;PREVIOUS_PAGE_TEXT:Lnet/minecraft/text/Text;
    • NEXT_PAGE_TEXT

      static final Text NEXT_PAGE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official i Lezp;i:Lsw;
      intermediary field_26615 Lnet/minecraft/class_531;field_26615:Lnet/minecraft/class_2561;
      named NEXT_PAGE_TEXT Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;NEXT_PAGE_TEXT:Lnet/minecraft/text/Text;
    • BLANK_COMMAND

      public static final SpectatorMenuCommand BLANK_COMMAND
      Mappings:
      Namespace Name Mixin selector
      official a Lezp;a:Lezr;
      intermediary field_3260 Lnet/minecraft/class_531;field_3260:Lnet/minecraft/class_537;
      named BLANK_COMMAND Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;BLANK_COMMAND:Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;
    • closeCallback

      private final SpectatorMenuCloseCallback closeCallback
      Mappings:
      Namespace Name Mixin selector
      official j Lezp;j:Lezs;
      intermediary field_3255 Lnet/minecraft/class_531;field_3255:Lnet/minecraft/class_536;
      named closeCallback Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;closeCallback:Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCloseCallback;
    • currentGroup

      private SpectatorMenuCommandGroup currentGroup
      Mappings:
      Namespace Name Mixin selector
      official k Lezp;k:Lezq;
      intermediary field_3258 Lnet/minecraft/class_531;field_3258:Lnet/minecraft/class_535;
      named currentGroup Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;currentGroup:Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;
    • selectedSlot

      private int selectedSlot
      Mappings:
      Namespace Name Mixin selector
      official l Lezp;l:I
      intermediary field_3254 Lnet/minecraft/class_531;field_3254:I
      named selectedSlot Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;selectedSlot:I
    • page

      int page
      Mappings:
      Namespace Name Mixin selector
      official m Lezp;m:I
      intermediary field_3263 Lnet/minecraft/class_531;field_3263:I
      named page Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;page:I
  • Constructor Details

    • SpectatorMenu

      public SpectatorMenu(SpectatorMenuCloseCallback closeCallback)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lezp;<init>(Lezs;)V
      intermediary <init> Lnet/minecraft/class_531;<init>(Lnet/minecraft/class_536;)V
      named <init> Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;<init>(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCloseCallback;)V
  • Method Details

    • getCommand

      public SpectatorMenuCommand getCommand(int slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lezp;a(I)Lezr;
      intermediary method_2777 Lnet/minecraft/class_531;method_2777(I)Lnet/minecraft/class_537;
      named getCommand Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;getCommand(I)Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;
    • getCommands

      public List<SpectatorMenuCommand> getCommands()
      Mappings:
      Namespace Name Mixin selector
      official a Lezp;a()Ljava/util/List;
      intermediary method_2770 Lnet/minecraft/class_531;method_2770()Ljava/util/List;
      named getCommands Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;getCommands()Ljava/util/List;
    • getSelectedCommand

      public SpectatorMenuCommand getSelectedCommand()
      Mappings:
      Namespace Name Mixin selector
      official b Lezp;b()Lezr;
      intermediary method_2774 Lnet/minecraft/class_531;method_2774()Lnet/minecraft/class_537;
      named getSelectedCommand Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;getSelectedCommand()Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;
    • getCurrentGroup

      public SpectatorMenuCommandGroup getCurrentGroup()
      Mappings:
      Namespace Name Mixin selector
      official c Lezp;c()Lezq;
      intermediary method_2776 Lnet/minecraft/class_531;method_2776()Lnet/minecraft/class_535;
      named getCurrentGroup Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;getCurrentGroup()Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;
    • useCommand

      public void useCommand(int slot)
      Mappings:
      Namespace Name Mixin selector
      official b Lezp;b(I)V
      intermediary method_2771 Lnet/minecraft/class_531;method_2771(I)V
      named useCommand Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;useCommand(I)V
    • close

      public void close()
      Mappings:
      Namespace Name Mixin selector
      official d Lezp;d()V
      intermediary method_2779 Lnet/minecraft/class_531;method_2779()V
      named close Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;close()V
    • getSelectedSlot

      public int getSelectedSlot()
      Mappings:
      Namespace Name Mixin selector
      official e Lezp;e()I
      intermediary method_2773 Lnet/minecraft/class_531;method_2773()I
      named getSelectedSlot Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;getSelectedSlot()I
    • selectElement

      public void selectElement(SpectatorMenuCommandGroup group)
      Mappings:
      Namespace Name Mixin selector
      official a Lezp;a(Lezq;)V
      intermediary method_2778 Lnet/minecraft/class_531;method_2778(Lnet/minecraft/class_535;)V
      named selectElement Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;selectElement(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;)V
    • getCurrentState

      public SpectatorMenuState getCurrentState()
      Mappings:
      Namespace Name Mixin selector
      official f Lezp;f()Lezt;
      intermediary method_2772 Lnet/minecraft/class_531;method_2772()Lnet/minecraft/class_539;
      named getCurrentState Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;getCurrentState()Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;