class TeleportToTeam.TeamSelectionObject extends java.lang.Object implements ISpectatorMenuObject
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
location |
private java.util.List<NetworkPlayerInfo> |
players |
private ScorePlayerTeam |
team |
Constructor and Description |
---|
TeamSelectionObject(ScorePlayerTeam teamIn) |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getSpectatorName() |
boolean |
isEnabled() |
void |
renderIcon(float brightness,
int alpha) |
void |
selectItem(SpectatorMenu menu) |
private final ScorePlayerTeam team
private final ResourceLocation location
private final java.util.List<NetworkPlayerInfo> players
public TeamSelectionObject(ScorePlayerTeam teamIn)
public void selectItem(SpectatorMenu menu)
selectItem
in interface ISpectatorMenuObject
public ITextComponent getSpectatorName()
getSpectatorName
in interface ISpectatorMenuObject
public void renderIcon(float brightness, int alpha)
renderIcon
in interface ISpectatorMenuObject
public boolean isEnabled()
isEnabled
in interface ISpectatorMenuObject