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
FieldsModifier and TypeFieldDescriptionprivate final ResourceLocation
private final List<PlayerInfo>
private final PlayerTeam
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
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
(GuiGraphics p_283215_, float p_282946_, int p_283438_) 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
-