Class RaidSpawnWaveEvent


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

    • RaidSpawnWaveEvent

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

    • getPatrolLeader

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

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

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

      @NotNull public static HandlerList getHandlerList()