Class BedwarsBedDestroyedMessageSendEvent
java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsBedDestroyedMessageSendEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class BedwarsBedDestroyedMessageSendEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionBedwarsBedDestroyedMessageSendEvent
(org.bukkit.entity.Player destroyer, org.bukkit.entity.Player victim, Game game, Team destroyedTeam, @NotNull String message) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.bukkit.entity.Player
getGame()
static org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
@NotNull String
org.bukkit.entity.Player
int
hashCode()
boolean
void
setCancelled
(boolean cancel) void
setMessage
(@NotNull String message) toString()
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BedwarsBedDestroyedMessageSendEvent
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getDestroyer
public org.bukkit.entity.Player getDestroyer() -
getVictim
public org.bukkit.entity.Player getVictim() -
getGame
-
getDestroyedTeam
-
getMessage
-
setMessage
-
toString
-