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
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.authlib.GameProfilegameProfileprivate Textnameprivate IdentifierskinId -
Constructor Summary
Constructors Constructor Description TeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile gameProfile) -
Method Summary
Modifier and Type Method Description TextgetName()booleanisEnabled()voidrenderIcon(MatrixStack matrixStack, float float2, int int2)voiduse(SpectatorMenu menu)
-
Field Details
-
gameProfile
private final com.mojang.authlib.GameProfile gameProfile -
skinId
-
name
-
-
Constructor Details
-
TeleportToSpecificPlayerSpectatorCommand
public TeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile gameProfile)
-
-
Method Details
-
use
- Specified by:
usein interfaceSpectatorMenuCommand
-
getName
- Specified by:
getNamein interfaceSpectatorMenuCommand
-
renderIcon
- Specified by:
renderIconin interfaceSpectatorMenuCommand
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceSpectatorMenuCommand
-