Class FHHologramProvider
java.lang.Object
io.github.projectunified.unihologram.spigot.fancyholograms.FHHologramProvider
- All Implemented Interfaces:
HologramProvider<org.bukkit.Location>
The hologram provider for FancyHolograms
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Hologram<org.bukkit.Location>createHologram(@NotNull String name, @NotNull org.bukkit.Location location) Create a new hologramCollection<Hologram<org.bukkit.Location>>Get all hologramsgetHologram(@NotNull String name) Get a hologram by its namestatic booleanCheck if FancyHolograms is available
-
Constructor Details
-
FHHologramProvider
public FHHologramProvider()
-
-
Method Details
-
isAvailable
public static boolean isAvailable()Check if FancyHolograms is available- Returns:
- true if available
-
createHologram
@NotNull public @NotNull Hologram<org.bukkit.Location> createHologram(@NotNull @NotNull String name, @NotNull @NotNull org.bukkit.Location location) Description copied from interface:HologramProviderCreate a new hologram- Specified by:
createHologramin interfaceHologramProvider<org.bukkit.Location>- Parameters:
name- the name of the hologramlocation- the location of the hologram- Returns:
- the hologram
-
getHologram
Description copied from interface:HologramProviderGet a hologram by its name- Specified by:
getHologramin interfaceHologramProvider<org.bukkit.Location>- Parameters:
name- the name of the hologram- Returns:
- the hologram
-
getAllHolograms
Description copied from interface:HologramProviderGet all holograms- Specified by:
getAllHologramsin interfaceHologramProvider<org.bukkit.Location>- Returns:
- the collection of holograms
-