Class BedwarsPlayerDeathMessageSendEvent

java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsPlayerDeathMessageSendEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

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

    • BedwarsPlayerDeathMessageSendEvent

      public BedwarsPlayerDeathMessageSendEvent(org.bukkit.entity.Player victim, Game game, @NotNull @NotNull String message)
  • Method Details

    • 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
    • getHandlerList

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

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getVictim

      public org.bukkit.entity.Player getVictim()
    • getGame

      public Game getGame()
    • getMessage

      @NotNull public @NotNull String getMessage()
    • setMessage

      public void setMessage(@NotNull @NotNull String message)
    • toString

      public String toString()
      Overrides:
      toString in class Object