Package me.hackware.api.mining
Enum Class BreakPriority
- All Implemented Interfaces:
Serializable,Comparable<BreakPriority>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiondoublevalue()The raw value on SilentMine's internal priority scale.static BreakPriorityReturns the enum constant of this class with the specified name.static BreakPriority[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOW
Background work — yields to every built-in consumer. -
NORMAL
Default. Competes evenly with bulk consumers like Nuker. -
HIGH
Urgent work — outranks the built-in automation, but never manual mining.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
value
public double value()The raw value on SilentMine's internal priority scale.
-