Class RoundStartEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.RoundStartEvent
- All Implemented Interfaces:
ArenaEvent
Gets called when a round is about to start
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
boolean
Returns whether spawn items will be given to the player respawning.void
setGivingItems
(boolean givingItems) Set whether spawn items will be given to the player when respawning.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.marcely.bedwars.api.event.arena.ArenaEvent
getArena
-
Constructor Details
-
RoundStartEvent
-
-
Method Details
-
isGivingItems
public boolean isGivingItems()Returns whether spawn items will be given to the player respawning.- Returns:
- whether spawn items will be given to the player
-
setGivingItems
public void setGivingItems(boolean givingItems) Set whether spawn items will be given to the player when respawning.- Parameters:
givingItems
- weather or not spawn items will be given to the player
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-