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_830named net/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand
-
Field Summary
Fields Modifier and Type Field Description private Identifierfield_3643private com.mojang.authlib.GameProfilegameProfile -
Constructor Summary
Constructors Constructor Description TeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile gameProfile) -
Method Summary
Modifier and Type Method Description TextgetName()booleanisEnabled()voidrenderIcon(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_3642Lnet/minecraft/class_830;field_3642:Lcom/mojang/authlib/GameProfile;named gameProfileLnet/minecraft/client/gui/hud/spectator/TeleportToSpecificPlayerSpectatorCommand;gameProfile:Lcom/mojang/authlib/GameProfile;
-
field_3643
- Mappings:
Namespace Name Mixin selector official bLbad;b:Ljy;intermediary field_3643Lnet/minecraft/class_830;field_3643:Lnet/minecraft/class_1605;named field_3643Lnet/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
- Specified by:
usein interfaceSpectatorMenuCommand- Mappings:
Namespace Name Mixin selector official aLbah;a(Lbaf;)Vintermediary method_3040Lnet/minecraft/class_836;method_3040(Lnet/minecraft/class_832;)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_3037Lnet/minecraft/class_836;method_3037()Lnet/minecraft/class_1444;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_3039Lnet/minecraft/class_836;method_3039(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_3038Lnet/minecraft/class_836;method_3038()Znamed isEnabledLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
-