Class ArenaRegenerationStartEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaRegenerationStartEvent
- All Implemented Interfaces:
- ArenaEvent
Gets called when an arena starts to regenerate
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionArenaRegenerationStartEvent(Arena arena, @Nullable CommandSenderWrapper sender, ArenaRegenerationStartEvent.Result result) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic HandlerListReturns what actually should happen after this event.@Nullable CommandSenderReturns the person who started the regeneration.@Nullable CommandSenderWrapperReturns the person who started this regeneration.voidSet what actually should happen after this event.Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronousMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.marcely.bedwars.api.event.arena.ArenaEventgetArena
- 
Constructor Details- 
ArenaRegenerationStartEventpublic ArenaRegenerationStartEvent(Arena arena, @Nullable @Nullable CommandSenderWrapper sender, ArenaRegenerationStartEvent.Result result) 
 
- 
- 
Method Details- 
getSenderReturns the person who started the regeneration.Can be nullwhen something else (or nobody on this server) started it- Returns:
- The person who started it
 
- 
getSenderWrappedReturns the person who started this regeneration.Can be nullwhen something else started it.- Returns:
- The person who started it
 
- 
getResultReturns what actually should happen after this event.- Returns:
- The result of this event
 
- 
setResultSet what actually should happen after this event.- Parameters:
- result- The new result
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-