Class TeleportSpectatorMenu

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

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

    • ORDERING

      private static final Comparator<PlayerListEntry> ORDERING
      Mappings:
      Namespace Name Mixin selector
      official a Lezd;a:Ljava/util/Comparator;
      intermediary field_3267 Lnet/minecraft/class_538;field_3267:Ljava/util/Comparator;
      named ORDERING Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;ORDERING:Ljava/util/Comparator;
    • TELEPORT_TEXT

      private static final Text TELEPORT_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Lezd;b:Lsw;
      intermediary field_26616 Lnet/minecraft/class_538;field_26616:Lnet/minecraft/class_2561;
      named TELEPORT_TEXT Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;TELEPORT_TEXT:Lnet/minecraft/text/Text;
    • PROMPT_TEXT

      private static final Text PROMPT_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Lezd;c:Lsw;
      intermediary field_26617 Lnet/minecraft/class_538;field_26617:Lnet/minecraft/class_2561;
      named PROMPT_TEXT Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;PROMPT_TEXT:Lnet/minecraft/text/Text;
    • elements

      private final List<SpectatorMenuCommand> elements
      Mappings:
      Namespace Name Mixin selector
      official d Lezd;d:Ljava/util/List;
      intermediary field_3268 Lnet/minecraft/class_538;field_3268:Ljava/util/List;
      named elements Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;elements:Ljava/util/List;
  • Constructor Details

    • TeleportSpectatorMenu

      public TeleportSpectatorMenu()
    • TeleportSpectatorMenu

      public TeleportSpectatorMenu(Collection<PlayerListEntry> entries)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lezd;<init>(Ljava/util/Collection;)V
      intermediary <init> Lnet/minecraft/class_538;<init>(Ljava/util/Collection;)V
      named <init> Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;<init>(Ljava/util/Collection;)V
  • Method Details

    • getCommands

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

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

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

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

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

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