Class PlayerMenuObject
java.lang.Object
net.minecraft.client.gui.spectator.PlayerMenuObject
- All Implemented Interfaces:
ISpectatorMenuObject
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ResourceLocation
private final StringTextComponent
private final com.mojang.authlib.GameProfile
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
renderIcon
(MatrixStack p_230485_1_, float p_230485_2_, int p_230485_3_) void
selectItem
(SpectatorMenu p_178661_1_)
-
Field Details
-
profile
private final com.mojang.authlib.GameProfile profile -
location
-
name
-
-
Constructor Details
-
PlayerMenuObject
public PlayerMenuObject(com.mojang.authlib.GameProfile p_i45498_1_)
-
-
Method Details
-
selectItem
- Specified by:
selectItem
in interfaceISpectatorMenuObject
-
getName
- Specified by:
getName
in interfaceISpectatorMenuObject
-
renderIcon
- Specified by:
renderIcon
in interfaceISpectatorMenuObject
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceISpectatorMenuObject
-