Interface IGenHolo
public interface IGenHolo
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
This must be called when disabling the generatorIGenerator.disable()
getIso()
Get language iso associated with this hologram.void
setTierName
(String tier) Set tier hologram display text.void
setTimerName
(String timer) Set timer hologram display text.void
Hide hologram for all players using a different language than this hologram.void
updateForPlayer
(org.bukkit.entity.Player p, String lang) Hide hologram for target player if is using a different language.
-
Method Details
-
setTimerName
Set timer hologram display text. -
setTierName
Set tier hologram display text. -
getIso
String getIso()Get language iso associated with this hologram. -
updateForPlayer
Hide hologram for target player if is using a different language. Add your generator to an arena and it will automatically call this when required.- Parameters:
p
- The player who should not see this hologram.lang
- Player's language.
-
updateForAll
void updateForAll()Hide hologram for all players using a different language than this hologram. -
destroy
void destroy()This must be called when disabling the generatorIGenerator.disable()
-