Class RaidSpawnWaveEvent


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

    • RaidSpawnWaveEvent Link icon

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

    • getPatrolLeader Link icon

      @Nullable public Raider getPatrolLeader()
      Returns the patrol leader.
      Returns:
      Raider
    • getRaiders Link icon

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

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

      @NotNull public static HandlerList getHandlerList()