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 bke
intermediary net/minecraft/class_2320
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 Lbke;a:Lcom/mojang/authlib/GameProfile;
      intermediary field_10494 Lnet/minecraft/class_2320;field_10494:Lcom/mojang/authlib/GameProfile;
      named gameProfile Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;gameProfile:Lcom/mojang/authlib/GameProfile;
    • skinId

      private final Identifier skinId
      Mappings:
      Namespace Name Mixin selector
      official b Lbke;b:Lkq;
      intermediary field_10495 Lnet/minecraft/class_2320;field_10495:Lnet/minecraft/class_1653;
      named skinId Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;skinId:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • TeleportToSpecificPlayerSpectatorCommand

      public TeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbke;<init>(Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_2320;<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 Lbki;a(Lbkg;)V
      intermediary method_9629 Lnet/minecraft/class_2326;method_9629(Lnet/minecraft/class_2322;)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 I_ Lbki;I_()Lfb;
      intermediary method_9626 Lnet/minecraft/class_2326;method_9626()Lnet/minecraft/class_1982;
      named getName Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;getName()Lnet/minecraft/text/Text;
    • renderIcon

      public void renderIcon(float brightness, int alpha)
      Specified by:
      renderIcon in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lbki;a(FI)V
      intermediary method_9628 Lnet/minecraft/class_2326;method_9628(FI)V
      named renderIcon Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;renderIcon(FI)V
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      official J_ Lbki;J_()Z
      intermediary method_9627 Lnet/minecraft/class_2326;method_9627()Z
      named isEnabled Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z