Package org.bukkit.event.raid
Class RaidSpawnWaveEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- org.bukkit.event.world.WorldEvent
-
- org.bukkit.event.raid.RaidEvent
-
- org.bukkit.event.raid.RaidSpawnWaveEvent
-
public class RaidSpawnWaveEvent extends RaidEvent
Called when a raid wave spawns.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HandlerList
getHandlerList()
HandlerList
getHandlers()
Raider
getPatrolLeader()
Returns the patrol leader.List<Raider>
getRaiders()
Returns allRaider
that spawned in this wave.-
Methods inherited from class org.bukkit.event.world.WorldEvent
getWorld
-
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
-
-
-
Method Detail
-
getPatrolLeader
@Nullable public Raider getPatrolLeader()
Returns the patrol leader.- Returns:
Raider
-
getRaiders
@NotNull public List<Raider> getRaiders()
Returns allRaider
that spawned in this wave.- Returns:
- an immutable list of raiders
-
getHandlers
@NotNull public HandlerList getHandlers()
- Specified by:
getHandlers
in classEvent
-
getHandlerList
@NotNull public static HandlerList getHandlerList()
-
-