Class MobRemovalEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.MobRemovalEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class MobRemovalEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    MobRemovalEvent(org.bukkit.entity.Entity entity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.entity.Entity
     
    org.bukkit.entity.EntityType
     
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    boolean
     
    void
    setCancelled(boolean isCancelled)
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • MobRemovalEvent

      public MobRemovalEvent(org.bukkit.entity.Entity entity)
  • Method Details

    • getHandlers

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

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

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean isCancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getEntity

      public org.bukkit.entity.Entity getEntity()
    • getEntityType

      public org.bukkit.entity.EntityType getEntityType()