Interface HologramProvider<T>

Type Parameters:
T - the type of the location
All Known Implementing Classes:
CMIHologramProvider, DHHologramProvider, FHHologramProvider, FoliaHologramProvider, HDHologramProvider, LocalHologramProvider, VanillaHologramProvider

public interface HologramProvider<T>
The provider to create Hologram
  • Method Details

    • createHologram

      @NotNull @NotNull Hologram<T> createHologram(@NotNull @NotNull String name, @NotNull T location)
      Create a new hologram
      Parameters:
      name - the name of the hologram
      location - the location of the hologram
      Returns:
      the hologram
    • getHologram

      Optional<Hologram<T>> getHologram(@NotNull @NotNull String name)
      Get a hologram by its name
      Parameters:
      name - the name of the hologram
      Returns:
      the hologram
    • getAllHolograms

      Collection<Hologram<T>> getAllHolograms()
      Get all holograms
      Returns:
      the collection of holograms