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
-
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 boolean
Check 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:HologramProvider
Create a new hologram- Specified by:
createHologram
in interfaceHologramProvider<org.bukkit.Location>
- Parameters:
name
- the name of the hologramlocation
- the location of the hologram- Returns:
- the hologram
-
getHologram
Description copied from interface:HologramProvider
Get a hologram by its name- Specified by:
getHologram
in interfaceHologramProvider<org.bukkit.Location>
- Parameters:
name
- the name of the hologram- Returns:
- the hologram
-
getAllHolograms
Description copied from interface:HologramProvider
Get all holograms- Specified by:
getAllHolograms
in interfaceHologramProvider<org.bukkit.Location>
- Returns:
- the collection of holograms
-