Class FoliaHologramProvider

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

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

    • FoliaHologramProvider

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

    • isAvailable

      public static boolean isAvailable()
      Check if Folia is available
      Returns:
      true if it is
    • 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