Class PlayerMenuObject
- java.lang.Object
-
- net.minecraft.client.gui.spectator.PlayerMenuObject
-
- All Implemented Interfaces:
ISpectatorMenuObject
public class PlayerMenuObject extends java.lang.Object implements ISpectatorMenuObject
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocationlocationprivate StringTextComponentnameprivate com.mojang.authlib.GameProfileprofile
-
Constructor Summary
Constructors Constructor Description PlayerMenuObject(com.mojang.authlib.GameProfile p_i45498_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITextComponentgetName()booleanisEnabled()voidrenderIcon(MatrixStack p_230485_1_, float p_230485_2_, int p_230485_3_)voidselectItem(SpectatorMenu p_178661_1_)
-
-
-
Field Detail
-
profile
private final com.mojang.authlib.GameProfile profile
-
location
private final ResourceLocation location
-
name
private final StringTextComponent name
-
-
Method Detail
-
selectItem
public void selectItem(SpectatorMenu p_178661_1_)
- Specified by:
selectItemin interfaceISpectatorMenuObject
-
getName
public ITextComponent getName()
- Specified by:
getNamein interfaceISpectatorMenuObject
-
renderIcon
public void renderIcon(MatrixStack p_230485_1_, float p_230485_2_, int p_230485_3_)
- Specified by:
renderIconin interfaceISpectatorMenuObject
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceISpectatorMenuObject
-
-