ModelDamagedEvent

class ModelDamagedEvent : EntityEvent, Cancellable

Constructors

Link copied to clipboard
constructor(@NotNull hitBox: HitBox, @NotNull source: ModelDamageSource, damage: Float)

Properties

Link copied to clipboard
val HANDLER_LIST: HandlerList

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
open fun getEntity(): @NotNull Entity
Link copied to clipboard
open fun getEntityType(): @NotNull EntityType
Link copied to clipboard
open fun getEventName(): @NotNull String
Link copied to clipboard
@NotNull
open fun getHandlerList(): HandlerList
Link copied to clipboard
@NotNull
open fun getHandlers(): HandlerList
Link copied to clipboard
Link copied to clipboard
abstract fun isCancelled(): Boolean
Link copied to clipboard
abstract fun setCancelled(p: Boolean)