Class TeamTeleportSpectatorMenu

java.lang.Object
net.minecraft.client.gui.hud.spectator.TeamTeleportSpectatorMenu
All Implemented Interfaces:
SpectatorMenuCommand, SpectatorMenuCommandGroup

@Environment(CLIENT) public class TeamTeleportSpectatorMenu extends Object implements SpectatorMenuCommandGroup, SpectatorMenuCommand
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu
intermediary net/minecraft/class_540
official ftx
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named TEXTURE Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu;TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45583 Lnet/minecraft/class_540;field_45583:Lnet/minecraft/class_2960;
      official a Lftx;a:Lakr;
    • TEAM_TELEPORT_TEXT

      private static final Text TEAM_TELEPORT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TEAM_TELEPORT_TEXT Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu;TEAM_TELEPORT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26618 Lnet/minecraft/class_540;field_26618:Lnet/minecraft/class_2561;
      official b Lftx;b:Lwz;
    • PROMPT_TEXT

      private static final Text PROMPT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named PROMPT_TEXT Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu;PROMPT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26619 Lnet/minecraft/class_540;field_26619:Lnet/minecraft/class_2561;
      official c Lftx;c:Lwz;
    • commands

      private final List<SpectatorMenuCommand> commands
      Mappings:
      Namespace Name Mixin selector
      named commands Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu;commands:Ljava/util/List;
      intermediary field_3272 Lnet/minecraft/class_540;field_3272:Ljava/util/List;
      official d Lftx;d:Ljava/util/List;
  • Constructor Details

    • TeamTeleportSpectatorMenu

      public TeamTeleportSpectatorMenu()
  • Method Details

    • getCommands

      private static List<SpectatorMenuCommand> getCommands(MinecraftClient client, Scoreboard scoreboard)
      Mappings:
      Namespace Name Mixin selector
      named getCommands Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu;getCommands(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/scoreboard/Scoreboard;)Ljava/util/List;
      intermediary method_47432 Lnet/minecraft/class_540;method_47432(Lnet/minecraft/class_310;Lnet/minecraft/class_269;)Ljava/util/List;
      official a Lftx;a(Lfgo;Leyg;)Ljava/util/List;
    • 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 Lfts;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 Lfts;b()Lwz;
    • use

      public void use(SpectatorMenu menu)
      Specified by:
      use in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      named use Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;use(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;)V
      intermediary method_2783 Lnet/minecraft/class_537;method_2783(Lnet/minecraft/class_531;)V
      official a Lftt;a(Lftr;)V
    • getName

      public Text getName()
      Specified by:
      getName in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;getName()Lnet/minecraft/text/Text;
      intermediary method_16892 Lnet/minecraft/class_537;method_16892()Lnet/minecraft/class_2561;
      official aU_ Lftt;aU_()Lwz;
    • renderIcon

      public void renderIcon(DrawContext context, float brightness, int alpha)
      Specified by:
      renderIcon in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      named renderIcon Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;renderIcon(Lnet/minecraft/client/gui/DrawContext;FI)V
      intermediary method_2784 Lnet/minecraft/class_537;method_2784(Lnet/minecraft/class_332;FI)V
      official a Lftt;a(Lfhz;FI)V
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      named isEnabled Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
      intermediary method_16893 Lnet/minecraft/class_537;method_16893()Z
      official aV_ Lftt;aV_()Z