Package gcspawners

Class AdvancedSpawnersBreakEvent

java.lang.Object
org.bukkit.event.Event
gcspawners.AdvancedSpawnersBreakEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

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

    • AdvancedSpawnersBreakEvent

      public AdvancedSpawnersBreakEvent(org.bukkit.entity.Player p, org.bukkit.block.Block b, String entityType, int count)
  • Method Details

    • getHandlerList

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

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

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

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

      public int getCountBroken()
    • getEntityType

      public String getEntityType()
    • getSpawner

      public org.bukkit.block.Block getSpawner()
    • getPlayer

      public org.bukkit.entity.Player getPlayer()