@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 |
| Constructor and Description |
|---|
TeamTeleportSpectatorMenu() |
| Modifier and Type | Method and Description |
|---|---|
List<SpectatorMenuCommand> |
getCommands() |
Text |
getName() |
Text |
getPrompt() |
boolean |
isEnabled() |
void |
renderIcon(float brightness,
int alpha) |
void |
use(SpectatorMenu menu) |
private final List<SpectatorMenuCommand> commands
public List<SpectatorMenuCommand> getCommands()
getCommands in interface SpectatorMenuCommandGrouppublic Text getPrompt()
getPrompt in interface SpectatorMenuCommandGrouppublic void use(SpectatorMenu menu)
use in interface SpectatorMenuCommandpublic Text getName()
getName in interface SpectatorMenuCommandpublic void renderIcon(float brightness,
int alpha)
renderIcon in interface SpectatorMenuCommandpublic boolean isEnabled()
isEnabled in interface SpectatorMenuCommand