Package org.bukkit.event.raid
Class RaidFinishEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- org.bukkit.event.world.WorldEvent
-
- org.bukkit.event.raid.RaidEvent
-
- org.bukkit.event.raid.RaidFinishEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
-
Constructor Summary
Constructors Constructor Description RaidFinishEvent(Raid raid, World world, List<Player> winners)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HandlerList
getHandlerList()
HandlerList
getHandlers()
List<Player>
getWinners()
Returns an immutable list contains all winners.-
Methods inherited from class org.bukkit.event.world.WorldEvent
getWorld
-
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
-
-
-
Method Detail
-
getWinners
@NotNull public List<Player> getWinners()
Returns an immutable list contains all winners.
Note: Players who are considered as heroes but were not online at the end would not be included in this list.- Returns:
- winners
-
getHandlers
@NotNull public HandlerList getHandlers()
- Specified by:
getHandlers
in classEvent
-
getHandlerList
@NotNull public static HandlerList getHandlerList()
-
-