Class TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand

java.lang.Object
net.minecraft.client.gui.hud.spectator.TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand
All Implemented Interfaces:
SpectatorMenuCommand
Enclosing class:
TeamTeleportSpectatorMenu

@Environment(CLIENT) private static class TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand extends Object implements SpectatorMenuCommand
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand
intermediary net/minecraft/class_540$class_541
official fzu$a
  • Field Details

    • team

      private final Team team
      Mappings:
      Namespace Name Mixin selector
      named team Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;team:Lnet/minecraft/scoreboard/Team;
      intermediary field_3275 Lnet/minecraft/class_540$class_541;field_3275:Lnet/minecraft/class_268;
      official a Lfzu$a;a:Lfcx;
    • skinTexturesSupplier

      private final Supplier<SkinTextures> skinTexturesSupplier
      Mappings:
      Namespace Name Mixin selector
      named skinTexturesSupplier Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;skinTexturesSupplier:Ljava/util/function/Supplier;
      intermediary field_41115 Lnet/minecraft/class_540$class_541;field_41115:Ljava/util/function/Supplier;
      official b Lfzu$a;b:Ljava/util/function/Supplier;
    • scoreboardEntries

      private final List<PlayerListEntry> scoreboardEntries
      Mappings:
      Namespace Name Mixin selector
      named scoreboardEntries Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;scoreboardEntries:Ljava/util/List;
      intermediary field_3274 Lnet/minecraft/class_540$class_541;field_3274:Ljava/util/List;
      official c Lfzu$a;c:Ljava/util/List;
  • Constructor Details

    • TeleportToSpecificTeamCommand

      private TeleportToSpecificTeamCommand(Team team, List<PlayerListEntry> scoreboardEntries, Supplier<SkinTextures> skinTexturesSupplier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;<init>(Lnet/minecraft/scoreboard/Team;Ljava/util/List;Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_540$class_541;<init>(Lnet/minecraft/class_268;Ljava/util/List;Ljava/util/function/Supplier;)V
      official <init> Lfzu$a;<init>(Lfcx;Ljava/util/List;Ljava/util/function/Supplier;)V
  • Method Details

    • create

      public static Optional<SpectatorMenuCommand> create(MinecraftClient client, Team team)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;create(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/scoreboard/Team;)Ljava/util/Optional;
      intermediary method_47433 Lnet/minecraft/class_540$class_541;method_47433(Lnet/minecraft/class_310;Lnet/minecraft/class_268;)Ljava/util/Optional;
      official a Lfzu$a;a(Lfmf;Lfcx;)Ljava/util/Optional;
    • 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 Lfzq;a(Lfzo;)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_ Lfzq;aU_()Lxv;
    • renderIcon

      public void renderIcon(DrawContext context, float brightness, float 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;FF)V
      intermediary method_2784 Lnet/minecraft/class_537;method_2784(Lnet/minecraft/class_332;FF)V
      official a Lfzq;a(Lfnr;FF)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_ Lfzq;aV_()Z