Mob Pre Level Event
class MobPreLevelEvent(val entity: LivingEntity, var level: Int, val levelCause: MobPreLevelEvent.LevelCause, val additionalInformation: MutableSet<AdditionalLevelInformation>?) : Event, Cancellable
This event is fired before a mob has been levelled. Note that it does not fire when the mob was spawned using /lm summon
, instead see Summoned- -MobPreLevelEvent.
Author
lokka30
Since
2.5.0
Constructors
Link copied to clipboard
constructor(entity: LivingEntity, level: Int, levelCause: MobPreLevelEvent.LevelCause, additionalInformation: MutableSet<AdditionalLevelInformation>?)