java.lang.Object
io.github.projectunified.unihologram.api.local.LocalHologramProvider<org.bukkit.Location>
io.github.projectunified.unihologram.spigot.holographicdisplays.HDHologramProvider
All Implemented Interfaces:
HologramProvider<org.bukkit.Location>

public class HDHologramProvider extends LocalHologramProvider<org.bukkit.Location>
The hologram provider for HolographicDisplays
  • Constructor Details

    • HDHologramProvider

      public HDHologramProvider(org.bukkit.plugin.Plugin plugin)
      Create a new hologram provider
      Parameters:
      plugin - the plugin
  • Method Details

    • isAvailable

      public static boolean isAvailable()
      Check if HolographicDisplays is available
      Returns:
      true if available
    • newHologram

      @NotNull protected @NotNull Hologram<org.bukkit.Location> newHologram(@NotNull @NotNull String name, @NotNull @NotNull org.bukkit.Location location)
      Description copied from class: LocalHologramProvider
      Make a new hologram
      Specified by:
      newHologram in class LocalHologramProvider<org.bukkit.Location>
      Parameters:
      name - the name of the hologram
      location - the location of the hologram
      Returns:
      the hologram