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
Modifier and TypeFieldDescriptionprivate final List<SpectatorMenuItem>
private static final Comparator<PlayerInfo>
private static final Component
private static final Component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetItems()
getName()
boolean
void
renderIcon
(PoseStack p_101864_, float p_101865_, int p_101866_) 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
-