Class PlayerMenuItem
java.lang.Object
net.minecraft.client.gui.spectator.PlayerMenuItem
- All Implemented Interfaces:
SpectatorMenuItem
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
private final Component
private final com.mojang.authlib.GameProfile
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
renderIcon
(GuiGraphics p_282282_, float p_282686_, int p_282849_) void
selectItem
(SpectatorMenu p_101762_)
-
Field Details
-
profile
private final com.mojang.authlib.GameProfile profile -
location
-
name
-
-
Constructor Details
-
PlayerMenuItem
public PlayerMenuItem(com.mojang.authlib.GameProfile p_101756_)
-
-
Method Details
-
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
-