Constructor and Description |
---|
Hologram(String[] text,
org.bukkit.Location location) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
org.bukkit.Location |
getLocation() |
void |
hidePlayer(org.bukkit.OfflinePlayer p) |
boolean |
isVisible(org.bukkit.OfflinePlayer p) |
void |
remove()
Removes the hologram.
|
void |
showPlayer(org.bukkit.OfflinePlayer p) |
public Hologram(String[] text, org.bukkit.Location location)
public org.bukkit.Location getLocation()
getLocation
in interface IHologram
public void showPlayer(org.bukkit.OfflinePlayer p)
showPlayer
in interface IHologram
p
- Player to which the hologram should be shownpublic void hidePlayer(org.bukkit.OfflinePlayer p)
hidePlayer
in interface IHologram
p
- Player from which the hologram should be hiddenpublic boolean isVisible(org.bukkit.OfflinePlayer p)
public boolean exists()
Copyright © 2016. All rights reserved.