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