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 badintermediary net/minecraft/class_2320named net/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.authlib.GameProfileprivate final Identifier -
Constructor Summary
ConstructorsConstructorDescriptionTeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile profile) -
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanvoidrenderIcon(float brightness, int alpha) voiduse(SpectatorMenu menu)
-
Field Details
-
gameProfile
private final com.mojang.authlib.GameProfile gameProfile- Mappings:
Namespace Name Mixin selector official aLbad;a:Lcom/mojang/authlib/GameProfile;intermediary field_10494Lnet/minecraft/class_2320;field_10494:Lcom/mojang/authlib/GameProfile;named gameProfileLnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;gameProfile:Lcom/mojang/authlib/GameProfile;
-
skinId
- Mappings:
Namespace Name Mixin selector official bLbad;b:Ljy;intermediary field_10495Lnet/minecraft/class_2320;field_10495:Lnet/minecraft/class_1653;named skinIdLnet/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>Lbad;<init>(Lcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_2320;<init>(Lcom/mojang/authlib/GameProfile;)Vnamed <init>Lnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;<init>(Lcom/mojang/authlib/GameProfile;)V
-
-
Method Details
-
use
- Specified by:
usein interfaceSpectatorMenuCommand- Mappings:
Namespace Name Mixin selector official aLbah;a(Lbaf;)Vintermediary method_9629Lnet/minecraft/class_2326;method_9629(Lnet/minecraft/class_2322;)Vnamed useLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;use(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;)V
-
getName
- Specified by:
getNamein interfaceSpectatorMenuCommand- Mappings:
Namespace Name Mixin selector official A_Lbah;A_()Leu;intermediary method_9626Lnet/minecraft/class_2326;method_9626()Lnet/minecraft/class_1982;named getNameLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;getName()Lnet/minecraft/text/Text;
-
renderIcon
public void renderIcon(float brightness, int alpha) - Specified by:
renderIconin interfaceSpectatorMenuCommand- Mappings:
Namespace Name Mixin selector official aLbah;a(FI)Vintermediary method_9628Lnet/minecraft/class_2326;method_9628(FI)Vnamed renderIconLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;renderIcon(FI)V
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceSpectatorMenuCommand- Mappings:
Namespace Name Mixin selector official B_Lbah;B_()Zintermediary method_9627Lnet/minecraft/class_2326;method_9627()Znamed isEnabledLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
-