public class TeleportToPlayer extends java.lang.Object implements ISpectatorMenuView, ISpectatorMenuObject
| Constructor and Description |
|---|
TeleportToPlayer() |
TeleportToPlayer(java.util.Collection<NetworkPlayerInfo> profiles) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ISpectatorMenuObject> |
getItems() |
ITextComponent |
getPrompt() |
ITextComponent |
getSpectatorName() |
boolean |
isEnabled() |
void |
renderIcon(float brightness,
int alpha) |
void |
selectItem(SpectatorMenu menu) |
public TeleportToPlayer()
public TeleportToPlayer(java.util.Collection<NetworkPlayerInfo> profiles)
public java.util.List<ISpectatorMenuObject> getItems()
getItems in interface ISpectatorMenuViewpublic ITextComponent getPrompt()
getPrompt in interface ISpectatorMenuViewpublic 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