@Environment(value=CLIENT) public class TeleportToSpecificPlayerSpectatorCommand extends Object implements SpectatorMenuCommand
| Modifier and Type | Field and Description |
|---|---|
private LiteralText |
field_26611 |
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(MatrixStack matrixStack,
float float2,
int int2) |
void |
use(SpectatorMenu menu) |
private final com.mojang.authlib.GameProfile gameProfile
private final Identifier skinId
private final LiteralText field_26611
public TeleportToSpecificPlayerSpectatorCommand(com.mojang.authlib.GameProfile gameProfile)
public void use(SpectatorMenu menu)
use in interface SpectatorMenuCommandpublic Text getName()
getName in interface SpectatorMenuCommandpublic void renderIcon(MatrixStack matrixStack, float float2, int int2)
renderIcon in interface SpectatorMenuCommandpublic boolean isEnabled()
isEnabled in interface SpectatorMenuCommand