Interface IGenHolo
public interface IGenHolo
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlayer(org.bukkit.entity.Player player) Add a player to this hologram.voiddestroy()This must be called when disabling the generatorIGenerator.disable()Get the generator associated with this hologram.Get the hologram instance associated with this generator hologram.getIso()Get language iso associated with this hologram.Set<org.bukkit.entity.Player> Get the player associated with this hologram.voidremovePlayer(org.bukkit.entity.Player player) Remove a player from this hologram.voidsetTierName(String tier) Set tier hologram display text.voidsetTimerName(String timer) Set timer hologram display text.voidupdate()Update the hologram.voidupdate(org.bukkit.entity.Player player) Update the hologram for a player.
-
Method Details
-
setTimerName
Set timer hologram display text. -
setTierName
Set tier hologram display text. -
getIso
String getIso()Get language iso associated with this hologram. -
getPlayers
Set<org.bukkit.entity.Player> getPlayers()Get the player associated with this hologram. -
addPlayer
void addPlayer(org.bukkit.entity.Player player) Add a player to this hologram. -
removePlayer
void removePlayer(org.bukkit.entity.Player player) Remove a player from this hologram. -
getGenerator
IGenerator getGenerator()Get the generator associated with this hologram. -
update
void update()Update the hologram. -
update
void update(org.bukkit.entity.Player player) Update the hologram for a player. -
destroy
void destroy()This must be called when disabling the generatorIGenerator.disable() -
getHologram
IHologram getHologram()Get the hologram instance associated with this generator hologram.- Returns:
- The hologram instance associated with this generator hologram.
-