Package de.marcely.bedwars.api.event
Class SpecialBlockAddEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.SpecialBlockAddEvent
- All Implemented Interfaces:
Cancellable
Gets called when a SpecialBlock is being added.
The way of how it got added is not relevant. Meaning it's also getting called when they get loaded, a player adds it, a plugin adds it or whatever
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlock()
Returns the block that has been addedstatic HandlerList
boolean
void
setCancelled
(boolean bool) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
SpecialBlockAddEvent
-
-
Method Details
-
getBlock
Returns the block that has been added- Returns:
- The block that has been added
-
setCancelled
public void setCancelled(boolean bool) - Specified by:
setCancelled
in interfaceCancellable
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-