Class MobSpawnRemovalEvent

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

public class MobSpawnRemovalEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Constructor Details

    • MobSpawnRemovalEvent

      public MobSpawnRemovalEvent(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()