@Environment(value=CLIENT) public class TeleportSpectatorMenu extends Object implements SpectatorMenuCommandGroup, SpectatorMenuCommand
| Modifier and Type | Field and Description |
|---|---|
private List<SpectatorMenuCommand> |
elements |
private static Text |
field_26616 |
private static Text |
field_26617 |
private static Ordering<PlayerListEntry> |
ORDERING |
| Constructor and Description |
|---|
TeleportSpectatorMenu() |
TeleportSpectatorMenu(Collection<PlayerListEntry> entries) |
| 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 Ordering<PlayerListEntry> ORDERING
private static final Text field_26616
private static final Text field_26617
private final List<SpectatorMenuCommand> elements
public TeleportSpectatorMenu()
public TeleportSpectatorMenu(Collection<PlayerListEntry> entries)
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(MatrixStack matrixStack, float float2, int int2)
renderIcon in interface SpectatorMenuCommandpublic boolean isEnabled()
isEnabled in interface SpectatorMenuCommand