@Environment(value=CLIENT) public class TeamTeleportSpectatorMenu extends Object implements SpectatorMenuCommandGroup, SpectatorMenuCommand
Modifier and Type | Class and Description |
---|---|
(package private) class |
TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand |
Modifier and Type | Field and Description |
---|---|
private List<SpectatorMenuCommand> |
commands |
private static Text |
field_26618 |
private static Text |
field_26619 |
Constructor and Description |
---|
TeamTeleportSpectatorMenu() |
Modifier and Type | Method and Description |
---|---|
List<SpectatorMenuCommand> |
getCommands() |
Text |
getName() |
Text |
getPrompt() |
boolean |
isEnabled() |
void |
renderIcon(MatrixStack matrixStack,
float float2,
int int2) |
void |
use(SpectatorMenu menu) |
private static final Text field_26618
private static final Text field_26619
private final List<SpectatorMenuCommand> commands
public List<SpectatorMenuCommand> getCommands()
getCommands
in interface SpectatorMenuCommandGroup
public Text getPrompt()
getPrompt
in interface SpectatorMenuCommandGroup
public void use(SpectatorMenu menu)
use
in interface SpectatorMenuCommand
public Text getName()
getName
in interface SpectatorMenuCommand
public void renderIcon(MatrixStack matrixStack, float float2, int int2)
renderIcon
in interface SpectatorMenuCommand
public boolean isEnabled()
isEnabled
in interface SpectatorMenuCommand