Class SpectatorMenu.CloseSpectatorMenuCommand
java.lang.Object
net.minecraft.client.gui.hud.spectator.SpectatorMenu.CloseSpectatorMenuCommand
- All Implemented Interfaces:
SpectatorMenuCommand
- Enclosing class:
- SpectatorMenu
@Environment(CLIENT) static class SpectatorMenu.CloseSpectatorMenuCommand extends Object implements SpectatorMenuCommand
-
Constructor Summary
Constructors Modifier Constructor Description privateCloseSpectatorMenuCommand() -
Method Summary
Modifier and Type Method Description TextgetName()booleanisEnabled()voidrenderIcon(MatrixStack matrixStack, float float2, int int2)voiduse(SpectatorMenu menu)
-
Constructor Details
-
CloseSpectatorMenuCommand
private CloseSpectatorMenuCommand()
-
-
Method Details
-
use
- Specified by:
usein interfaceSpectatorMenuCommand
-
getName
- Specified by:
getNamein interfaceSpectatorMenuCommand
-
renderIcon
- Specified by:
renderIconin interfaceSpectatorMenuCommand
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceSpectatorMenuCommand
-