Class TeleportToSpecificPlayerSpectatorCommand

java.lang.Object
net.minecraft.client.gui.hud.spectator.TeleportToSpecificPlayerSpectatorCommand
All Implemented Interfaces:
SpectatorMenuCommand

@Environment(CLIENT) public class TeleportToSpecificPlayerSpectatorCommand extends Object implements SpectatorMenuCommand
Mappings:
Namespace Name
official fie
intermediary net/minecraft/class_530
named net/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand
  • Field Details

    • gameProfile

      private final com.mojang.authlib.GameProfile gameProfile
      Mappings:
      Namespace Name Mixin selector
      official a Lfie;a:Lcom/mojang/authlib/GameProfile;
      intermediary field_3253 Lnet/minecraft/class_530;field_3253:Lcom/mojang/authlib/GameProfile;
      named gameProfile Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;gameProfile:Lcom/mojang/authlib/GameProfile;
    • skinTexturesSupplier

      private final Supplier<SkinTextures> skinTexturesSupplier
      Mappings:
      Namespace Name Mixin selector
      official b Lfie;b:Ljava/util/function/Supplier;
      intermediary field_45578 Lnet/minecraft/class_530;field_45578:Ljava/util/function/Supplier;
      named skinTexturesSupplier Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;skinTexturesSupplier:Ljava/util/function/Supplier;
    • name

      private final Text name
      Mappings:
      Namespace Name Mixin selector
      official c Lfie;c:Lvf;
      intermediary field_26611 Lnet/minecraft/class_530;field_26611:Lnet/minecraft/class_2561;
      named name Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;name:Lnet/minecraft/text/Text;
  • Constructor Details

    • TeleportToSpecificPlayerSpectatorCommand

      public TeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile gameProfile)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfie;<init>(Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_530;<init>(Lcom/mojang/authlib/GameProfile;)V
      named <init> Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;<init>(Lcom/mojang/authlib/GameProfile;)V
  • Method Details

    • use

      public void use(SpectatorMenu menu)
      Specified by:
      use in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lfii;a(Lfig;)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 aO_ Lfii;aO_()Lvf;
      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 Lfii;a(Lewu;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 aP_ Lfii;aP_()Z
      intermediary method_16893 Lnet/minecraft/class_537;method_16893()Z
      named isEnabled Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z