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 named net/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand
intermediary net/minecraft/class_530
official fzm
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.mojang.authlib.GameProfile
private final Text
private final Supplier
<SkinTextures> -
Constructor Summary
ConstructorDescriptionTeleportToSpecificPlayerSpectatorCommand
(com.mojang.authlib.GameProfile gameProfile) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
renderIcon
(DrawContext context, float brightness, float alpha) void
use
(SpectatorMenu menu)
-
Field Details
-
gameProfile
private final com.mojang.authlib.GameProfile gameProfile- Mappings:
Namespace Name Mixin selector named gameProfile
Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;gameProfile:Lcom/mojang/authlib/GameProfile;
intermediary field_3253
Lnet/minecraft/class_530;field_3253:Lcom/mojang/authlib/GameProfile;
official a
Lfzm;a:Lcom/mojang/authlib/GameProfile;
-
skinTexturesSupplier
- Mappings:
Namespace Name Mixin selector named skinTexturesSupplier
Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;skinTexturesSupplier:Ljava/util/function/Supplier;
intermediary field_45578
Lnet/minecraft/class_530;field_45578:Ljava/util/function/Supplier;
official b
Lfzm;b:Ljava/util/function/Supplier;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;name:Lnet/minecraft/text/Text;
intermediary field_26611
Lnet/minecraft/class_530;field_26611:Lnet/minecraft/class_2561;
official c
Lfzm;c:Lxv;
-
-
Constructor Details
-
TeleportToSpecificPlayerSpectatorCommand
public TeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile gameProfile) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;<init>(Lcom/mojang/authlib/GameProfile;)V
intermediary <init>
Lnet/minecraft/class_530;<init>(Lcom/mojang/authlib/GameProfile;)V
official <init>
Lfzm;<init>(Lcom/mojang/authlib/GameProfile;)V
-
-
Method Details
-
use
- Specified by:
use
in interfaceSpectatorMenuCommand
- 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
- Specified by:
getName
in interfaceSpectatorMenuCommand
- 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
- Specified by:
renderIcon
in interfaceSpectatorMenuCommand
- 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 interfaceSpectatorMenuCommand
- 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
-