OriginBuilder

@API(status = API.Status.STABLE, since = "1.0.0")
sealed class OriginBuilder : OriginValues

Handles the origins primary variables.

Functions

Link copied to clipboard
open fun async(block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
open fun <R> completableAsync(block: suspend () -> R): CompletableFuture<R>
Link copied to clipboard
open fun <R> completableSync(block: suspend () -> R): CompletableFuture<R>
Link copied to clipboard
open fun <R> deferredAsync(block: suspend () -> R): Deferred<R>
Link copied to clipboard
open fun <R> deferredSync(block: suspend () -> R): Deferred<R>
Link copied to clipboard
open fun deleteProperty(key: String)
Link copied to clipboard
fun fireImmunity(fireImmunity: Boolean = true): OriginBuilder
Link copied to clipboard
open fun getKoin(): Koin
Link copied to clipboard
open fun <T : Any> getProperty(key: String): T?
open fun <T : Any> getProperty(key: String, default: T): T
Link copied to clipboard
open fun launch(dispatcher: CoroutineContext, block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
open fun registerEvents(vararg listeners: Listener)
Link copied to clipboard
open fun <T : Any> setProperty(key: String, value: T): T
Link copied to clipboard
open fun sync(block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
fun waterBreathing(waterBreathing: Boolean = true): OriginBuilder

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@API(status = API.Status.INTERNAL)
val builderCache: LoadingCache<KClass<out BuilderPart<*>>, BuilderPart<*>>
Link copied to clipboard
open val colour: TextColor
Link copied to clipboard
var damageActions: PersistentMap<EntityDamageEvent.DamageCause, suspend EntityDamageEvent.() -> Unit>
Link copied to clipboard
val displayName: Component
Link copied to clipboard
val eventListener: KListener<MinixPlugin>
Link copied to clipboard
open var fireImmunity: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val logger: MinixLogger
Link copied to clipboard
open val name: String
Link copied to clipboard
abstract val plugin: MinixPlugin
Link copied to clipboard
open val requirements: PersistentList<Pair<Component, (Player) -> Boolean>>
Link copied to clipboard
Link copied to clipboard
open var waterBreathing: Boolean = false

Inheritors

Link copied to clipboard