Class VanillaHologramProvider
java.lang.Object
io.github.projectunified.unihologram.api.local.LocalHologramProvider<org.bukkit.Location>
io.github.projectunified.unihologram.spigot.plugin.vanilla.VanillaHologramProvider
- All Implemented Interfaces:
HologramProvider<org.bukkit.Location>
The hologram provider for Vanilla
-
Constructor Summary
ConstructorDescriptionVanillaHologramProvider
(org.bukkit.plugin.Plugin plugin) Create a new hologram provider -
Method Summary
Modifier and TypeMethodDescriptionprotected @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
-
VanillaHologramProvider
public VanillaHologramProvider(org.bukkit.plugin.Plugin plugin) Create a new hologram provider- Parameters:
plugin
- the plugin
-
-
Method Details
-
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
-