Interface Raid


public interface Raid
  • Method Details

    • world

      ServerWorld world()
      Gets the ServerWorld this raid is taking place in.
      Returns:
      The world
    • bossBar

      BossBar bossBar()
      Gets the BossBar being displayed to clients of this raid.
      Returns:
      The boss bar
    • status

      RaidStatus status()
      Gets the RaidStatus of this raid.
      Returns:
      The raid status
    • currentWave

      Optional<RaidWave> currentWave()
      Gets the current RaidWave of this raid.
      Returns:
      The current wave or Optional.empty() if no waves are currently running
    • waves

      List<RaidWave> waves()
      Gets all of the waves that have occurred or are occurring in this raid.
      Returns:
      The waves
    • totalWaveAmount

      int totalWaveAmount()
      Gets the amount of waves this raid plans to execute.

      In vanilla, a raid determines wave amounts based on difficulty:

      Keep in mind that wave amount will be affected by waves added by plugins
      Returns:
      The total wave amount
    • health

      double health()
      Gets the health of this raid. Health is calculated by the sum of all of the Raider's Living.health(). As long as the raider was added to a RaidWave as part of the health.
      Returns:
      The health