Class TeamTeleportSpectatorMenu
java.lang.Object
net.minecraft.client.gui.hud.spectator.TeamTeleportSpectatorMenu
- All Implemented Interfaces:
SpectatorMenuCommand,SpectatorMenuCommandGroup
@Environment(CLIENT) public class TeamTeleportSpectatorMenu extends Object implements SpectatorMenuCommandGroup, SpectatorMenuCommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classTeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand -
Field Summary
Fields Modifier and Type Field Description private List<SpectatorMenuCommand>commandsprivate static TextPROMPT_TEXTprivate static TextTEAM_TELEPORT_TEXT -
Constructor Summary
Constructors Constructor Description TeamTeleportSpectatorMenu() -
Method Summary
Modifier and Type Method Description List<SpectatorMenuCommand>getCommands()TextgetName()TextgetPrompt()booleanisEnabled()voidrenderIcon(MatrixStack matrixStack, float float2, int int2)voiduse(SpectatorMenu menu)
-
Field Details
-
TEAM_TELEPORT_TEXT
-
PROMPT_TEXT
-
commands
-
-
Constructor Details
-
TeamTeleportSpectatorMenu
public TeamTeleportSpectatorMenu()
-
-
Method Details
-
getCommands
- Specified by:
getCommandsin interfaceSpectatorMenuCommandGroup
-
getPrompt
- Specified by:
getPromptin interfaceSpectatorMenuCommandGroup
-
use
- Specified by:
usein interfaceSpectatorMenuCommand
-
getName
- Specified by:
getNamein interfaceSpectatorMenuCommand
-
renderIcon
- Specified by:
renderIconin interfaceSpectatorMenuCommand
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceSpectatorMenuCommand
-