Class FoliaHologram
java.lang.Object
io.github.projectunified.unihologram.api.simple.SimpleHologram<org.bukkit.Location>
io.github.projectunified.unihologram.spigot.folia.FoliaHologram
- All Implemented Interfaces:
Hologram<org.bukkit.Location>
A simple hologram for Folia
-
Field Summary
Fields inherited from class io.github.projectunified.unihologram.api.simple.SimpleHologram
lines, location, name
-
Constructor Summary
ConstructorDescriptionFoliaHologram
(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
-
FoliaHologram
Create a new hologram- Parameters:
plugin
- the pluginname
- the name of the hologramlocation
- the location of the hologram
-
-
Method Details
-
updateHologram
protected void updateHologram()Description copied from class:SimpleHologram
Update the hologram- Specified by:
updateHologram
in classSimpleHologram<org.bukkit.Location>
-
initHologram
protected void initHologram()Description copied from class:SimpleHologram
Initialize the hologram- Specified by:
initHologram
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>
-