@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(MatrixStack matrixStack,
float float2,
int int2) |
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 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