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 @NotNull HandlerList
getHandlerList()
@NotNull HandlerList
getHandlers()
@Nullable Raider
getPatrolLeader()
Returns the patrol leader.@NotNull 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 @Nullable Raider getPatrolLeader()
Returns the patrol leader.- Returns:
Raider
-
getRaiders
@NotNull public @NotNull List<Raider> getRaiders()
Returns allRaider
that spawned in this wave.- Returns:
- an immutable list of raiders
-
getHandlers
@NotNull public @NotNull HandlerList getHandlers()
- Specified by:
getHandlers
in classEvent
-
getHandlerList
@NotNull public static @NotNull HandlerList getHandlerList()
-
-