Class CorpseDeathEvent

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

public final class CorpseDeathEvent extends ZentrixGameEvent
Fired when the corpse entity dies, before its configured drop/removal is processed.
  • Constructor Details

    • CorpseDeathEvent

      public CorpseDeathEvent(@NotNull @NotNull ZentrixCorpse corpse, @NotNull @NotNull org.bukkit.Location location)
  • Method Details

    • getCorpse

      @NotNull public @NotNull ZentrixCorpse getCorpse()
    • getDeathLocation

      @NotNull public @NotNull org.bukkit.Location getDeathLocation()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Description copied from class: ZentrixGameEvent
      Gets the handler list for this event.
      Overrides:
      getHandlers in class ZentrixGameEvent
      Returns:
      The handler list
    • getHandlerList

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