Class TeleportToPlayerMenuCategory
java.lang.Object
net.minecraft.client.gui.spectator.categories.TeleportToPlayerMenuCategory
- All Implemented Interfaces:
SpectatorMenuCategory
,SpectatorMenuItem
public class TeleportToPlayerMenuCategory
extends Object
implements SpectatorMenuCategory, SpectatorMenuItem
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<SpectatorMenuItem>
private static final Comparator<PlayerInfo>
private static final Component
private static final Component
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItems()
getName()
boolean
void
renderIcon
(GuiGraphics p_281992_, float p_281684_, int p_281889_) void
selectItem
(SpectatorMenu p_101868_)
-
Field Details
-
PROFILE_ORDER
-
TELEPORT_TEXT
-
TELEPORT_PROMPT
-
items
-
-
Constructor Details
-
TeleportToPlayerMenuCategory
public TeleportToPlayerMenuCategory() -
TeleportToPlayerMenuCategory
-
-
Method Details
-
getItems
- Specified by:
getItems
in interfaceSpectatorMenuCategory
-
getPrompt
- Specified by:
getPrompt
in interfaceSpectatorMenuCategory
-
selectItem
- Specified by:
selectItem
in interfaceSpectatorMenuItem
-
getName
- Specified by:
getName
in interfaceSpectatorMenuItem
-
renderIcon
- Specified by:
renderIcon
in interfaceSpectatorMenuItem
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceSpectatorMenuItem
-