Class FancyHologramManager
java.lang.Object
com.zetaplugins.cookieclickerz.util.holograms.HologramManager
com.zetaplugins.cookieclickerz.util.holograms.FancyHologramManager
A concrete implementation of HologramManager
that uses the FancyHolograms API to manage holograms in the CookieClickerZ plugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bukkit.Location
Gets the location where the hologram should be spawned for the given clicker.void
removeHologram
(@NotNull String clickerName) Removes the hologram associated with the given clicker name.void
spawnHologram
(@NotNull ClickerManager.Clicker clicker) Spawns a hologram for the given clicker.Methods inherited from class com.zetaplugins.cookieclickerz.util.holograms.HologramManager
getHologramLines, getHologramName, getHologramName, getPlugin, removeAllHolograms, removeHologram, spawnAllHolograms
-
Constructor Details
-
FancyHologramManager
-
-
Method Details
-
spawnHologram
Description copied from class:HologramManager
Spawns a hologram for the given clicker.- Specified by:
spawnHologram
in classHologramManager
- Parameters:
clicker
- the Clicker object
-
removeHologram
Description copied from class:HologramManager
Removes the hologram associated with the given clicker name.- Specified by:
removeHologram
in classHologramManager
- Parameters:
clickerName
- the name of the clicker
-
getHologramLocation
Description copied from class:HologramManager
Gets the location where the hologram should be spawned for the given clicker.- Overrides:
getHologramLocation
in classHologramManager
- Parameters:
clicker
- the Clicker object- Returns:
- the location for the hologram
-