FluidWalker

class FluidWalker(val abilityPlayer: TerixPlayer, val linkedOrigin: Origin, val placementData: BlockData, val placementDuration: Duration = 5.ticks, val radius: Double = 3.0, val replaceableMaterials: Set<Material>) : PassiveAbility, TemporaryPlacement.BlockDataProvider, TemporaryPlacement.DurationLimited

Constructors

Link copied to clipboard
fun FluidWalker(abilityPlayer: TerixPlayer, linkedOrigin: Origin, placementData: BlockData, placementDuration: Duration = 5.ticks, radius: Double = 3.0, replaceableMaterials: Set<Material>)

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
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
suspend fun PlayerMoveXYZEvent.handle()
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

Properties

Link copied to clipboard
open override val abilityPlayer: TerixPlayer

The player who this ability belongs to.

Link copied to clipboard
open override val linkedOrigin: Origin

The origin instance that this ability belongs to.

Link copied to clipboard
open val logger: MinixLogger
Link copied to clipboard
open val name: String
Link copied to clipboard
open override val placementData: BlockData
Link copied to clipboard
open override val placementDuration: Duration
Link copied to clipboard
override val plugin: Terix
Link copied to clipboard
val radius: Double = 3.0
Link copied to clipboard
val replaceableMaterials: Set<Material>