Class CustomEntityDeathEvent

java.lang.Object
org.bukkit.event.Event
com.github.darksoulq.abyssallib.server.event.custom.entity.CustomEntityDeathEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

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

    • CustomEntityDeathEvent

      public CustomEntityDeathEvent(@NotNull @NotNull CustomEntity customEntity, @NotNull @NotNull org.bukkit.entity.LivingEntity livingEntity, @NotNull @NotNull org.bukkit.damage.DamageSource damageSource, int droppedExp)
  • Method Details

    • getCustomEntity

      @NotNull public @NotNull CustomEntity getCustomEntity()
    • getLivingEntity

      @NotNull public @NotNull org.bukkit.entity.LivingEntity getLivingEntity()
    • getDamageSource

      @NotNull public @NotNull org.bukkit.damage.DamageSource getDamageSource()
    • getDroppedExp

      public int getDroppedExp()
    • setDroppedExp

      public void setDroppedExp(int droppedExp)
    • getReviveHealth

      public double getReviveHealth()
    • setReviveHealth

      public void setReviveHealth(double reviveHealth)
    • isCancelled

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

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

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

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