Class BedwarsTargetBlockDestroyedEvent
java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsTargetBlockDestroyedEvent
public class BedwarsTargetBlockDestroyedEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionBedwarsTargetBlockDestroyedEvent
(Game game, org.bukkit.entity.Player player, RunningTeam team) -
Method Summary
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BedwarsTargetBlockDestroyedEvent
public BedwarsTargetBlockDestroyedEvent(Game game, org.bukkit.entity.Player player, RunningTeam team) - Parameters:
game
-player
-team
-
-
-
Method Details
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getGame
- Returns:
- game
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getPlayer
public org.bukkit.entity.Player getPlayer()- Returns:
- player or null if target block has been destroyed by explosion
-
getTeam
- Returns:
- team of player
-
destroyedByExplosion
public boolean destroyedByExplosion()- Returns:
- true if block has been destroyed by explosion
-