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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.entity.Entity
    Gets the Bukkit Entity of the mob that despawned
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    Gets the ActiveMob instance of the mob that despawned
    Gets the Mythic mob type of the mob that despawned

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MythicMobDespawnEvent

      public MythicMobDespawnEvent(ActiveMob am)
  • Method Details

    • getMob

      public ActiveMob 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

      public MythicMob getMobType()
      Gets the Mythic mob type of the mob that despawned
      Returns:
      MythicMob
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()