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 Summary
Modifier and TypeMethodDescriptioncreateHologram
(@NotNull String name, T location) Create a new hologramGet all hologramsgetHologram
(@NotNull String name) Get a hologram by its name
-
Method Details
-
createHologram
Create a new hologram- Parameters:
name
- the name of the hologramlocation
- the location of the hologram- Returns:
- the hologram
-
getHologram
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
-