Class RootSpectatorCommandGroup

java.lang.Object
net.minecraft.client.gui.hud.spectator.RootSpectatorCommandGroup
All Implemented Interfaces:
SpectatorMenuCommandGroup

@Environment(CLIENT) public class RootSpectatorCommandGroup extends Object implements SpectatorMenuCommandGroup
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/spectator/RootSpectatorCommandGroup
intermediary net/minecraft/class_534
official fsh
  • Field Details

    • PROMPT_TEXT

      private static final Text PROMPT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named PROMPT_TEXT Lnet/minecraft/client/gui/hud/spectator/RootSpectatorCommandGroup;PROMPT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26612 Lnet/minecraft/class_534;field_26612:Lnet/minecraft/class_2561;
      official a Lfsh;a:Lxp;
    • elements

      private final List<SpectatorMenuCommand> elements
      Mappings:
      Namespace Name Mixin selector
      named elements Lnet/minecraft/client/gui/hud/spectator/RootSpectatorCommandGroup;elements:Ljava/util/List;
      intermediary field_3266 Lnet/minecraft/class_534;field_3266:Ljava/util/List;
      official b Lfsh;b:Ljava/util/List;
  • Constructor Details

    • RootSpectatorCommandGroup

      public RootSpectatorCommandGroup()
  • Method Details

    • getCommands

      public List<SpectatorMenuCommand> getCommands()
      Specified by:
      getCommands in interface SpectatorMenuCommandGroup
      Mappings:
      Namespace Name Mixin selector
      named getCommands Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;getCommands()Ljava/util/List;
      intermediary method_2780 Lnet/minecraft/class_535;method_2780()Ljava/util/List;
      official a Lfsj;a()Ljava/util/List;
    • getPrompt

      public Text getPrompt()
      Specified by:
      getPrompt in interface SpectatorMenuCommandGroup
      Mappings:
      Namespace Name Mixin selector
      named getPrompt Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;getPrompt()Lnet/minecraft/text/Text;
      intermediary method_2781 Lnet/minecraft/class_535;method_2781()Lnet/minecraft/class_2561;
      official b Lfsj;b()Lxp;