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 bad
intermediary net/minecraft/class_830
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 Lbad;a:Lcom/mojang/authlib/GameProfile;
      intermediary field_3642 Lnet/minecraft/class_830;field_3642:Lcom/mojang/authlib/GameProfile;
      named gameProfile Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;gameProfile:Lcom/mojang/authlib/GameProfile;
    • field_3643

      private final Identifier field_3643
      Mappings:
      Namespace Name Mixin selector
      official b Lbad;b:Ljy;
      intermediary field_3643 Lnet/minecraft/class_830;field_3643:Lnet/minecraft/class_1605;
      named field_3643 Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;field_3643:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • TeleportToSpecificPlayerSpectatorCommand

      public TeleportToSpecificPlayerSpectatorCommand​(com.mojang.authlib.GameProfile gameProfile)
  • Method Details

    • use

      public void use​(SpectatorMenu menu)
      Specified by:
      use in interface SpectatorMenuCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lbah;a(Lbaf;)V
      intermediary method_3040 Lnet/minecraft/class_836;method_3040(Lnet/minecraft/class_832;)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 A_ Lbah;A_()Leu;
      intermediary method_3037 Lnet/minecraft/class_836;method_3037()Lnet/minecraft/class_1444;
      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 Lbah;a(FI)V
      intermediary method_3039 Lnet/minecraft/class_836;method_3039(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 B_ Lbah;B_()Z
      intermediary method_3038 Lnet/minecraft/class_836;method_3038()Z
      named isEnabled Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z