HololibManager

class HololibManager(plugin: JavaPlugin)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

cachedHolograms
Link copied to clipboard
val cachedHolograms: MutableList<Hologram>
This is the hologram cache containing every hologram that exists.
defaultArrowLeft
Link copied to clipboard
var defaultArrowLeft: String
Set the default arrow left.
defaultArrowRight
Link copied to clipboard
var defaultArrowRight: String
Set the default arrow right.
defaultHasArrows
Link copied to clipboard
var defaultHasArrows: Boolean = true
Set the default for wether a hologram should have arrows when created.
lineSpace
Link copied to clipboard
var lineSpace: Double = 0.25
Set the space between each HologramLine.
lineTransformation
Link copied to clipboard
var lineTransformation: (player: Player, content: String) -> Component
A transformation is what happens to every line whenever the Hologram is Hologram.updated.
plugin
Link copied to clipboard
val plugin: JavaPlugin
showHologramPredicate
Link copied to clipboard
val showHologramPredicate: (Player, Hologram) -> Boolean
A predicate to determine if a player can see a given hologram.
switchPageWithLeftRightClick
Link copied to clipboard
var switchPageWithLeftRightClick: Boolean = true
If this is false, no code will run when a player clicks on a hologram unless you write a custom HologramClickEvent