Class FancyHologramManager

java.lang.Object
com.zetaplugins.cookieclickerz.util.holograms.HologramManager
com.zetaplugins.cookieclickerz.util.holograms.FancyHologramManager

public final class FancyHologramManager extends HologramManager
A concrete implementation of HologramManager that uses the FancyHolograms API to manage holograms in the CookieClickerZ plugin.
  • Constructor Details

    • FancyHologramManager

      public FancyHologramManager(CookieClickerZ plugin)
  • Method Details

    • spawnHologram

      public void spawnHologram(@NotNull ClickerManager.Clicker clicker)
      Description copied from class: HologramManager
      Spawns a hologram for the given clicker.
      Specified by:
      spawnHologram in class HologramManager
      Parameters:
      clicker - the Clicker object
    • removeHologram

      public void removeHologram(@NotNull @NotNull String clickerName)
      Description copied from class: HologramManager
      Removes the hologram associated with the given clicker name.
      Specified by:
      removeHologram in class HologramManager
      Parameters:
      clickerName - the name of the clicker
    • getHologramLocation

      protected org.bukkit.Location getHologramLocation(@NotNull ClickerManager.Clicker clicker)
      Description copied from class: HologramManager
      Gets the location where the hologram should be spawned for the given clicker.
      Overrides:
      getHologramLocation in class HologramManager
      Parameters:
      clicker - the Clicker object
      Returns:
      the location for the hologram