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 brightness,
int alpha) |
void |
selectItem(SpectatorMenu menu) |
public PlayerMenuObject(com.mojang.authlib.GameProfile profileIn)
public void selectItem(SpectatorMenu menu)
selectItem in interface ISpectatorMenuObjectpublic ITextComponent getSpectatorName()
getSpectatorName in interface ISpectatorMenuObjectpublic void renderIcon(float brightness,
int alpha)
renderIcon in interface ISpectatorMenuObjectpublic boolean isEnabled()
isEnabled in interface ISpectatorMenuObject