MobPostLevelEvent

class MobPostLevelEvent(val lmEntity: LivingEntityWrapper, val levelCause: MobPostLevelEvent.LevelCause, val additionalInformation: MutableSet<AdditionalLevelInformation>?) : Event

This event is fired after a mob is levelled. Other plugins can cancel this event.

Author

lokka30

Since

2.5.0

Constructors

Link copied to clipboard
constructor(lmEntity: LivingEntityWrapper, levelCause: MobPostLevelEvent.LevelCause, additionalInformation: MutableSet<AdditionalLevelInformation>?)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

When a mob is levelled, the following enum is used to allow plugins to find the cause of the mob being levelled.

Properties

Link copied to clipboard
val entity: LivingEntity
Link copied to clipboard
val level: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
@NotNull
open fun getEventName(): @NotNull String
Link copied to clipboard
open override fun getHandlers(): HandlerList
Link copied to clipboard