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
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<SpectatorMenuItem>
private static final Component
private static final Component
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static List<SpectatorMenuItem>
createTeamEntries
(Minecraft p_260258_, Scoreboard p_259249_) getItems()
getName()
boolean
void
renderIcon
(GuiGraphics p_282933_, float p_283568_, int p_281803_) 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
-