Class CMIHologramProvider

java.lang.Object
me.hsgamer.unihologram.spigot.cmi.provider.CMIHologramProvider
All Implemented Interfaces:
me.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>

public class CMIHologramProvider extends Object implements me.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
The hologram provider for CMI
  • Constructor Details

    • CMIHologramProvider

      public CMIHologramProvider()
  • Method Details

    • isAvailable

      public static boolean isAvailable()
      Check if CMI is available
      Returns:
      true if available
    • createHologram

      @NotNull public @NotNull me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location> createHologram(@NotNull @NotNull String name, @NotNull @NotNull org.bukkit.Location location)
      Specified by:
      createHologram in interface me.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
    • getHologram

      public Optional<me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>> getHologram(@NotNull @NotNull String name)
      Specified by:
      getHologram in interface me.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
    • getAllHolograms

      public Collection<me.hsgamer.unihologram.common.api.Hologram<org.bukkit.Location>> getAllHolograms()
      Specified by:
      getAllHolograms in interface me.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>
    • isLocal

      public boolean isLocal()
      Specified by:
      isLocal in interface me.hsgamer.unihologram.common.api.HologramProvider<org.bukkit.Location>