Class TeleportSpectatorMenu
java.lang.Object
net.minecraft.client.gui.hud.spectator.TeleportSpectatorMenu
- All Implemented Interfaces:
SpectatorMenuCommand,SpectatorMenuCommandGroup
@Environment(CLIENT) public class TeleportSpectatorMenu extends Object implements SpectatorMenuCommandGroup, SpectatorMenuCommand
-
Field Summary
Fields Modifier and Type Field Description private List<SpectatorMenuCommand>elementsprivate static Ordering<PlayerListEntry>ORDERINGprivate static TextPROMPT_TEXTprivate static TextTELEPORT_TEXT -
Constructor Summary
Constructors Constructor Description TeleportSpectatorMenu()TeleportSpectatorMenu(Collection<PlayerListEntry> entries) -
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
-
ORDERING
-
TELEPORT_TEXT
-
PROMPT_TEXT
-
elements
-
-
Constructor Details
-
TeleportSpectatorMenu
public TeleportSpectatorMenu() -
TeleportSpectatorMenu
-
-
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
-