Class RaidSpawnWaveEvent


public class RaidSpawnWaveEvent extends RaidEvent
Called when a raid wave spawns.
  • Constructor Details

    • RaidSpawnWaveEvent

      @Internal public RaidSpawnWaveEvent(@NotNull @NotNull Raid raid, @NotNull @NotNull World world, @NotNull @NotNull Raider leader, @NotNull @NotNull List<Raider> raiders)
  • Method Details

    • getRaiders

      @NotNull public @NotNull @Unmodifiable List<Raider> getRaiders()
      Returns all Raider that spawned in this wave.
      Returns:
      an immutable list of raiders
    • getPatrolLeader

      @NotNull public @NotNull Raider getPatrolLeader()
      Returns the patrol leader.
      Returns:
      Raider
    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()