@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(MatrixStack matrixStack,
float float2,
int int2) |
void |
use(SpectatorMenu menu) |
public void use(SpectatorMenu menu)
use
in interface SpectatorMenuCommand
public Text getName()
getName
in interface SpectatorMenuCommand
public void renderIcon(MatrixStack matrixStack, float float2, int int2)
renderIcon
in interface SpectatorMenuCommand
public boolean isEnabled()
isEnabled
in interface SpectatorMenuCommand