Class PlayerMenuItem
java.lang.Object
net.minecraft.client.gui.spectator.PlayerMenuItem
- All Implemented Interfaces:
- SpectatorMenuItem
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ResourceLocationprivate final Componentprivate final com.mojang.authlib.GameProfile
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetName()booleanvoidrenderIcon(PoseStack p_101758_, float p_101759_, int p_101760_) voidselectItem(SpectatorMenu p_101762_) 
- 
Field Details- 
profileprivate final com.mojang.authlib.GameProfile profile
- 
location
- 
name
 
- 
- 
Constructor Details- 
PlayerMenuItempublic PlayerMenuItem(com.mojang.authlib.GameProfile p_101756_) 
 
- 
- 
Method Details- 
selectItem- Specified by:
- selectItemin interface- SpectatorMenuItem
 
- 
getName- Specified by:
- getNamein interface- SpectatorMenuItem
 
- 
renderIcon- Specified by:
- renderIconin interface- SpectatorMenuItem
 
- 
isEnabledpublic boolean isEnabled()- Specified by:
- isEnabledin interface- SpectatorMenuItem
 
 
-