Class PlayerMenuItem
java.lang.Object
net.minecraft.client.gui.spectator.PlayerMenuItem
- All Implemented Interfaces:
SpectatorMenuItem
-
Field Summary
Modifier and TypeFieldDescriptionprivate ResourceLocation
private Component
private com.mojang.authlib.GameProfile
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
renderIcon(PoseStack p_101758_, float p_101759_, int p_101760_)
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
-