Enum Class BreakPriority

java.lang.Object
java.lang.Enum<BreakPriority>
me.hackware.api.mining.BreakPriority
All Implemented Interfaces:
Serializable, Comparable<BreakPriority>, Constable

public enum BreakPriority extends Enum<BreakPriority>
Priority tiers for break requests made through MiningManager, mapped onto SilentMine's internal priority scale.

For reference on that scale: Nuker feeds bulk work at 50, HighwayCleaner utility breaks sit at 50–60, AutoMine runs up to 85, and the player's own manual mining is 90. All tiers here stay below manual — a plugin request can never evict the block the player is actively mining.

  • Enum Constant Details

    • LOW

      public static final BreakPriority LOW
      Background work — yields to every built-in consumer.
    • NORMAL

      public static final BreakPriority NORMAL
      Default. Competes evenly with bulk consumers like Nuker.
    • HIGH

      public static final BreakPriority HIGH
      Urgent work — outranks the built-in automation, but never manual mining.
  • Method Details

    • values

      public static BreakPriority[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BreakPriority valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public double value()
      The raw value on SilentMine's internal priority scale.