DismountModelEvent

Dismounts from some model's hitbox event

Constructors

Link copied to clipboard
@ApiStatus.Internal
constructor(@NotNull tracker: @NotNull EntityTracker, @NotNull hitBox: @NotNull HitBox, @NotNull entity: @NotNull Entity)
Creates event

Properties

Link copied to clipboard
val HANDLER_LIST: HandlerList
Handler list

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
open fun entity(): Entity
Gets passenger entity
Link copied to clipboard
open fun getEventName(): @NotNull String
Link copied to clipboard
@NotNull
open fun getHandlerList(): @NotNull HandlerList
Gets a handler list
Link copied to clipboard
@NotNull
open fun getHandlers(): @NotNull HandlerList
Link copied to clipboard
@NotNull
open fun hitbox(): @NotNull HitBox
Gets hitbox
Link copied to clipboard
Link copied to clipboard
abstract fun isCancelled(): Boolean
Link copied to clipboard
abstract fun setCancelled(p: Boolean)
Link copied to clipboard
@NotNull
open fun tracker(): @NotNull EntityTracker
Gets entity tracker