Package me.lokka30.levelledmobs.events
Class MobPostLevelEvent
java.lang.Object
org.bukkit.event.Event
me.lokka30.levelledmobs.events.MobPostLevelEvent
public class MobPostLevelEvent
extends org.bukkit.event.Event
This event is fired *after* a mob is levelled. Other plugins can cancel this event.
- Since:
- 2.5.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
When a mob is levelled, the following enum is used to allow plugins to find the cause of the mob being levelled.Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionMobPostLevelEvent
(@NotNull LivingEntityWrapper lmEntity, @NotNull MobPostLevelEvent.LevelCause levelCause, @Nullable HashSet<AdditionalLevelInformation> additionalInformation) -
Method Summary
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
MobPostLevelEvent
public MobPostLevelEvent(@NotNull @NotNull LivingEntityWrapper lmEntity, @NotNull @NotNull MobPostLevelEvent.LevelCause levelCause, @Nullable @Nullable HashSet<AdditionalLevelInformation> additionalInformation)
-
-
Method Details
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getEntity
public org.bukkit.entity.LivingEntity getEntity() -
getLmEntity
-
getLevel
public int getLevel() -
getCause
-
getAdditionalInformation
-