Package me.hsgamer.unihologram.spigot
Class SpigotHologramProvider
java.lang.Object
me.hsgamer.unihologram.spigot.SpigotHologramProvider
- All Implemented Interfaces:
HologramProvider<org.bukkit.Location>
A hologram provider for Spigot.
It will use the best provider available.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new hologram providerSpigotHologramProvider(org.bukkit.plugin.Plugin plugin) Create a new hologram provider -
Method Summary
Modifier and TypeMethodDescription@NotNull Hologram<org.bukkit.Location>createHologram(@NotNull String name, @NotNull org.bukkit.Location location) Collection<Hologram<org.bukkit.Location>>getHologram(@NotNull String name) booleanisLocal()
-
Constructor Details
-
SpigotHologramProvider
public SpigotHologramProvider(org.bukkit.plugin.Plugin plugin) Create a new hologram provider- Parameters:
plugin- the plugin
-
SpigotHologramProvider
public SpigotHologramProvider()Create a new hologram provider
-
-
Method Details
-
createHologram
@NotNull public @NotNull Hologram<org.bukkit.Location> createHologram(@NotNull @NotNull String name, @NotNull @NotNull org.bukkit.Location location) - Specified by:
createHologramin interfaceHologramProvider<org.bukkit.Location>
-
getHologram
- Specified by:
getHologramin interfaceHologramProvider<org.bukkit.Location>
-
getAllHolograms
- Specified by:
getAllHologramsin interfaceHologramProvider<org.bukkit.Location>
-
isLocal
public boolean isLocal()- Specified by:
isLocalin interfaceHologramProvider<org.bukkit.Location>
-