SummonedMobPreLevelEvent

class SummonedMobPreLevelEvent(val entity: LivingEntity, var level: Int) : Event, Cancellable

This event is fired before a mob has been levelled, but only if it was spawned using the /lm summon command.

Author

lokka30

Since

2.5.0

Constructors

Link copied to clipboard
constructor(entity: LivingEntity, level: Int)

Types

Link copied to clipboard
object Companion

Properties

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

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
Link copied to clipboard
open override fun isCancelled(): Boolean
Link copied to clipboard
open override fun setCancelled(cancelled: Boolean)