Package io.lumine.mythic.bukkit.events
Class MythicMobDespawnEvent
java.lang.Object
org.bukkit.event.Event
io.lumine.mythic.bukkit.events.MythicMobDespawnEvent
public class MythicMobDespawnEvent
extends org.bukkit.event.Event
Called when a MythicMob despawns. Used for Bukkit/Spigot only.
- Author:
- Ashijin
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.Entity
Gets the Bukkit Entity of the mob that despawnedstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
getMob()
Gets the ActiveMob instance of the mob that despawnedGets the Mythic mob type of the mob that despawnedMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
MythicMobDespawnEvent
-
-
Method Details
-
getMob
Gets the ActiveMob instance of the mob that despawned- Returns:
ActiveMob
-
getEntity
public org.bukkit.entity.Entity getEntity()Gets the Bukkit Entity of the mob that despawned- Returns:
- Entity
-
getMobType
Gets the Mythic mob type of the mob that despawned- Returns:
MythicMob
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-