@Environment(value=CLIENT) static class SpectatorMenu.CloseSpectatorMenuCommand extends Object implements SpectatorMenuCommand
| Modifier | Constructor and Description |
|---|---|
private |
CloseSpectatorMenuCommand() |
| Modifier and Type | Method and Description |
|---|---|
Text |
getName() |
boolean |
isEnabled() |
void |
renderIcon(float brightness,
int alpha) |
void |
use(SpectatorMenu menu) |
public 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