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 ISpectatorMenuObject
public ITextComponent getSpectatorName()
getSpectatorName
in interface ISpectatorMenuObject
public void renderIcon(float brightness, int alpha)
renderIcon
in interface ISpectatorMenuObject
public boolean isEnabled()
isEnabled
in interface ISpectatorMenuObject