@Environment(value=CLIENT) static class SpectatorMenu.ChangePageSpectatorMenuCommand extends Object implements SpectatorMenuCommand
| Modifier and Type | Field and Description |
|---|---|
private int |
direction |
private boolean |
enabled |
| Constructor and Description |
|---|
ChangePageSpectatorMenuCommand(int direction,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
Text |
getName() |
boolean |
isEnabled() |
void |
renderIcon(MatrixStack matrixStack,
float float2,
int int2) |
void |
use(SpectatorMenu menu) |
public ChangePageSpectatorMenuCommand(int direction,
boolean enabled)
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