Modifier

open class Modifier

Modifier

Functions

Link copied to clipboard
@NotNull
open fun build(): @NotNull MountController
Builds controller with modified value
Link copied to clipboard
@NotNull
open fun canBeDamagedByRider(canBeDamagedByRider: Boolean): @NotNull MountController.Modifier
Sets can rider damage this entity
Link copied to clipboard
@NotNull
open fun canControl(canControl: Boolean): @NotNull MountController.Modifier
Sets some player can control
Link copied to clipboard
@NotNull
open fun canDismountBySelf(canDismountBySelf: Boolean): @NotNull MountController.Modifier
Sets some player can dismount by self (right-click or sneak)
Link copied to clipboard
@NotNull
open fun canFly(canFly: Boolean): @NotNull MountController.Modifier
Sets some player can fly
Link copied to clipboard
@NotNull
open fun canJump(canJump: Boolean): @NotNull MountController.Modifier
Sets some player can jump
Link copied to clipboard
@NotNull
open fun canMount(canMount: Boolean): @NotNull MountController.Modifier
Sets some player can mount