@Environment(value=CLIENT) class TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand extends Object implements SpectatorMenuCommand
Modifier and Type | Field and Description |
---|---|
private List<PlayerListEntry> |
scoreboardEntries |
private Identifier |
skinId |
private Team |
team |
Constructor and Description |
---|
TeleportToSpecificTeamCommand(Team team) |
Modifier and Type | Method and Description |
---|---|
Text |
getName() |
boolean |
isEnabled() |
void |
renderIcon(float brightness,
int alpha) |
void |
use(SpectatorMenu menu) |
private final Team team
private final Identifier skinId
private final List<PlayerListEntry> scoreboardEntries
public TeleportToSpecificTeamCommand(Team team)
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