Class TeleportToTeamMenuCategory
java.lang.Object
net.minecraft.client.gui.spectator.categories.TeleportToTeamMenuCategory
- All Implemented Interfaces:
SpectatorMenuCategory
,SpectatorMenuItem
public class TeleportToTeamMenuCategory
extends Object
implements SpectatorMenuCategory, SpectatorMenuItem
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<SpectatorMenuItem>
private static final Component
private static final Component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static List<SpectatorMenuItem>
createTeamEntries
(Minecraft p_260258_, Scoreboard p_259249_) getItems()
getName()
boolean
void
renderIcon
(PoseStack p_101882_, float p_101883_, int p_101884_) void
selectItem
(SpectatorMenu p_101886_)
-
Field Details
-
TELEPORT_TEXT
-
TELEPORT_PROMPT
-
items
-
-
Constructor Details
-
TeleportToTeamMenuCategory
public TeleportToTeamMenuCategory()
-
-
Method Details
-
createTeamEntries
-
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
-