Class TeleportToTeamMenuCategory.TeamSelectionItem
java.lang.Object
net.minecraft.client.gui.spectator.categories.TeleportToTeamMenuCategory.TeamSelectionItem
- All Implemented Interfaces:
SpectatorMenuItem
- Enclosing class:
- TeleportToTeamMenuCategory
static class TeleportToTeamMenuCategory.TeamSelectionItem
extends Object
implements SpectatorMenuItem
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
private final List<PlayerInfo>
private final PlayerTeam
-
Constructor Summary
ModifierConstructorDescriptionprivate
TeamSelectionItem
(PlayerTeam p_259176_, List<PlayerInfo> p_259231_, ResourceLocation p_260113_) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<SpectatorMenuItem>
create
(Minecraft p_260048_, PlayerTeam p_259058_) getName()
boolean
void
renderIcon
(PoseStack p_101898_, float p_101899_, int p_101900_) void
selectItem
(SpectatorMenu p_101902_)
-
Field Details
-
team
-
iconSkin
-
players
-
-
Constructor Details
-
TeamSelectionItem
private TeamSelectionItem(PlayerTeam p_259176_, List<PlayerInfo> p_259231_, ResourceLocation p_260113_)
-
-
Method Details
-
create
-
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
-