Class SpectatorMenu

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

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

    • CLOSE_TEXTURE

      static final Identifier CLOSE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named CLOSE_TEXTURE Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;CLOSE_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45579 Lnet/minecraft/class_531;field_45579:Lnet/minecraft/class_2960;
      official b Lfsi;b:Lalf;
    • SCROLL_LEFT_TEXTURE

      static final Identifier SCROLL_LEFT_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named SCROLL_LEFT_TEXTURE Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;SCROLL_LEFT_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45580 Lnet/minecraft/class_531;field_45580:Lnet/minecraft/class_2960;
      official c Lfsi;c:Lalf;
    • SCROLL_RIGHT_TEXTURE

      static final Identifier SCROLL_RIGHT_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named SCROLL_RIGHT_TEXTURE Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;SCROLL_RIGHT_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45581 Lnet/minecraft/class_531;field_45581:Lnet/minecraft/class_2960;
      official d Lfsi;d:Lalf;
    • CLOSE_COMMAND

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

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

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

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

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

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

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

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

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

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

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

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

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

    • SpectatorMenu

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

    • getCommand

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

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

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

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

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

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

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

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

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