@Environment(value=CLIENT) public class TeleportToSpecificPlayerSpectatorCommand extends Object implements SpectatorMenuCommand
Modifier and Type | Field and Description |
---|---|
private com.mojang.authlib.GameProfile |
gameProfile |
private Identifier |
skinId |
Constructor and Description |
---|
TeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile gameProfile) |
Modifier and Type | Method and Description |
---|---|
Text |
getName() |
boolean |
isEnabled() |
void |
renderIcon(float brightness,
int alpha) |
void |
use(SpectatorMenu menu) |
private final com.mojang.authlib.GameProfile gameProfile
private final Identifier skinId
public TeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile gameProfile)
public void use(SpectatorMenu menu)
use
in interface SpectatorMenuCommand
public Text getName()
getName
in interface SpectatorMenuCommand
public void renderIcon(float brightness, int alpha)
renderIcon
in interface SpectatorMenuCommand
public boolean isEnabled()
isEnabled
in interface SpectatorMenuCommand