public interface BaseHologram extends Terminable
EMPTY| Modifier and Type | Method and Description |
|---|---|
void |
despawn()
Despawns the hologram
|
org.bukkit.entity.ArmorStand |
getArmorStand(int line)
Gets the ArmorStand holding the specified line
|
Collection<org.bukkit.entity.ArmorStand> |
getArmorStands()
Gets the ArmorStands that hold the lines for this hologram
|
boolean |
isSpawned()
Check if the hologram is currently spawned
|
void |
setClickCallback(Consumer<org.bukkit.entity.Player> clickCallback)
Sets a click callback for this hologram
|
void |
spawn()
Spawns the hologram
|
void |
updatePosition(Position position)
Updates the position of the hologram and respawns it
|
bindWith, close, closeAndReportException, closeSilently, isClosedvoid spawn()
void despawn()
boolean isSpawned()
@Nonnull Collection<org.bukkit.entity.ArmorStand> getArmorStands()
@Nullable org.bukkit.entity.ArmorStand getArmorStand(int line)
line - the linevoid updatePosition(@Nonnull Position position)
position - the new positionCopyright © 2022. All rights reserved.