public class PlayerMenuObject extends java.lang.Object implements ISpectatorMenuObject
Constructor and Description |
---|
PlayerMenuObject(com.mojang.authlib.GameProfile profileIn) |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getSpectatorName() |
boolean |
isEnabled() |
void |
renderIcon(float p_178663_1_,
int alpha) |
void |
selectItem(SpectatorMenu menu) |
public PlayerMenuObject(com.mojang.authlib.GameProfile profileIn)
public void selectItem(SpectatorMenu menu)
selectItem
in interface ISpectatorMenuObject
public ITextComponent getSpectatorName()
getSpectatorName
in interface ISpectatorMenuObject
public void renderIcon(float p_178663_1_, int alpha)
renderIcon
in interface ISpectatorMenuObject
public boolean isEnabled()
isEnabled
in interface ISpectatorMenuObject