Class HDHologramProvider
java.lang.Object
io.github.projectunified.unihologram.api.local.LocalHologramProvider<org.bukkit.Location>
io.github.projectunified.unihologram.spigot.holographicdisplays.HDHologramProvider
- All Implemented Interfaces:
HologramProvider<org.bukkit.Location>
The hologram provider for HolographicDisplays
-
Constructor Summary
ConstructorDescriptionHDHologramProvider
(org.bukkit.plugin.Plugin plugin) Create a new hologram provider -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check if HolographicDisplays is availableprotected @NotNull Hologram<org.bukkit.Location>
newHologram
(@NotNull String name, @NotNull org.bukkit.Location location) Make a new hologramMethods inherited from class io.github.projectunified.unihologram.api.local.LocalHologramProvider
createHologram, getAllHolograms, getHologram
-
Constructor Details
-
HDHologramProvider
public HDHologramProvider(org.bukkit.plugin.Plugin plugin) Create a new hologram provider- Parameters:
plugin
- the plugin
-
-
Method Details
-
isAvailable
public static boolean isAvailable()Check if HolographicDisplays is available- Returns:
- true if available
-
newHologram
@NotNull protected @NotNull Hologram<org.bukkit.Location> newHologram(@NotNull @NotNull String name, @NotNull @NotNull org.bukkit.Location location) Description copied from class:LocalHologramProvider
Make a new hologram- Specified by:
newHologram
in classLocalHologramProvider<org.bukkit.Location>
- Parameters:
name
- the name of the hologramlocation
- the location of the hologram- Returns:
- the hologram
-