Interface KonquestRuin

All Superinterfaces:
KonquestTerritory

public interface KonquestRuin extends KonquestTerritory
A ruin territory with critical blocks and optional ruin golem spawn points.
Author:
Rumsfield
  • Method Details

    • isCaptureDisabled

      boolean isCaptureDisabled()
      Checks whether this ruin is able to be captured. Ruins are captured when all critical blocks are destroyed. Capturing the ruin is disabled after it has been captured for a time duration based on the Konquest configuration.
      Returns:
      True when this ruin cannot be captured, else false
    • getCriticalLocations

      Set<org.bukkit.Location> getCriticalLocations()
      Gets a set of all critical block locations in this ruin.
      Returns:
      The set of locations
    • getSpawnLocations

      Set<org.bukkit.Location> getSpawnLocations()
      Gets a set of all ruin golem spawn locations in this ruin.
      Returns:
      The set of locations
    • getRemainingCriticalHits

      int getRemainingCriticalHits()
      Gets the remaining number of unbroken critical blocks. When all critical blocks are broken, the ruin is captured temporarily.
      Returns:
      The amount of unbroken critical blocks.
    • isEmpty

      boolean isEmpty()
      Checks if there are any online players inside of this ruin.
      Returns:
      True when there are no players inside of this ruin, else false