TitleBuilder

class TitleBuilder(title: Component? = null, subtitle: Component? = null, times: Title.Times? = null, sound: Key? = null) : CachingBuilder<Title>

Constructors

Link copied to clipboard
fun TitleBuilder(title: Component? = null, subtitle: Component? = null, times: Title.Times? = null, sound: Key? = null)

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun get(): Title

Returns the cached T instance, or creates a new one if it is dirty.

Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
operator fun invoke(player: Player)
Link copied to clipboard
override fun toString(): String

Properties

Link copied to clipboard
var sound: Key
Link copied to clipboard
var subtitle: Component
Link copied to clipboard
var times: Title.Times
Link copied to clipboard
var title: Component