Class VanillaHologram
java.lang.Object
io.github.projectunified.unihologram.api.simple.SimpleHologram<org.bukkit.Location>
io.github.projectunified.unihologram.spigot.plugin.vanilla.VanillaHologram
- All Implemented Interfaces:
Hologram<org.bukkit.Location>
A simple hologram for Vanilla
-
Field Summary
Fields inherited from class io.github.projectunified.unihologram.api.simple.SimpleHologram
lines, location, name
-
Constructor Summary
ConstructorDescriptionVanillaHologram
(org.bukkit.plugin.Plugin plugin, String name, org.bukkit.Location location) Create a new hologram -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Clear the hologramprotected void
Initialize the hologramprotected void
Update the hologramMethods inherited from class io.github.projectunified.unihologram.api.simple.SimpleHologram
addLine, clear, getLines, getLocation, getName, init, insertLine, isInitialized, removeLine, setLine, setLines, setLocation
-
Constructor Details
-
VanillaHologram
Create a new hologram- Parameters:
plugin
- the pluginname
- the name of the hologramlocation
- the location of the hologram
-
-
Method Details
-
initHologram
protected void initHologram()Description copied from class:SimpleHologram
Initialize the hologram- Specified by:
initHologram
in classSimpleHologram<org.bukkit.Location>
-
updateHologram
protected void updateHologram()Description copied from class:SimpleHologram
Update the hologram- Specified by:
updateHologram
in classSimpleHologram<org.bukkit.Location>
-
clearHologram
protected void clearHologram()Description copied from class:SimpleHologram
Clear the hologram- Specified by:
clearHologram
in classSimpleHologram<org.bukkit.Location>
-