public class TeleportToPlayer extends java.lang.Object implements ISpectatorMenuView, ISpectatorMenuObject
Modifier and Type | Field and Description |
---|---|
private java.util.List<ISpectatorMenuObject> |
items |
private static com.google.common.collect.Ordering<NetworkPlayerInfo> |
PROFILE_ORDER |
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) |
private static final com.google.common.collect.Ordering<NetworkPlayerInfo> PROFILE_ORDER
private final java.util.List<ISpectatorMenuObject> items
public TeleportToPlayer()
public TeleportToPlayer(java.util.Collection<NetworkPlayerInfo> profiles)
public java.util.List<ISpectatorMenuObject> getItems()
getItems
in interface ISpectatorMenuView
public ITextComponent getPrompt()
getPrompt
in interface ISpectatorMenuView
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