Package gcspawners

Class AdvancedEntityDeathEvent

java.lang.Object
org.bukkit.event.Event
gcspawners.AdvancedEntityDeathEvent

public class AdvancedEntityDeathEvent extends org.bukkit.event.Event
  • Constructor Details

    • AdvancedEntityDeathEvent

      public AdvancedEntityDeathEvent(org.bukkit.entity.Entity damager, String entityType, boolean isCustom, int stackAmount, org.bukkit.Location location, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause, int level, boolean hostile)
  • Method Details

    • isDropCustomDrops

      public boolean isDropCustomDrops()
    • setDropCustomDrops

      public void setDropCustomDrops(boolean dropCustomDrops)
    • isHostile

      public boolean isHostile()
    • getLevel

      public int getLevel()
    • getCause

      public org.bukkit.event.entity.EntityDamageEvent.DamageCause getCause()
    • getLocation

      public org.bukkit.Location getLocation()
    • isCustomEntity

      public boolean isCustomEntity()
    • getDamager

      public org.bukkit.entity.Entity getDamager()
    • getStackAmount

      public int getStackAmount()
    • getEntityType

      public String getEntityType()
    • getHandlers

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

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