Package me.hackware.api.mining
Enum Class MinePhase
- All Implemented Interfaces:
Serializable,Comparable<MinePhase>,Constable
Where a tracked block currently sits in SilentMine's two-slot pipeline.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe active/secondary slot: the block whose timer is currently aging toward the break line.The delayed-destroy slot: the server ages this block on its own tick and completes it at 100% progress (VANILLA's visible-swap primary, GRIM_V2's parked block).Waiting in a queue; mining has not started.The block already broke and the slot stays armed on its position, popping anything re-placed there near-instantly. -
Method Summary
-
Enum Constant Details
-
PRIMARY
The delayed-destroy slot: the server ages this block on its own tick and completes it at 100% progress (VANILLA's visible-swap primary, GRIM_V2's parked block). -
DOUBLE_MINE
The active/secondary slot: the block whose timer is currently aging toward the break line. Under GRIM_V2 every actively-mined block passes through this phase, even with the Double Mine setting off. -
REBREAK_ARMED
The block already broke and the slot stays armed on its position, popping anything re-placed there near-instantly. -
QUEUED
Waiting in a queue; mining has not started.
-
-
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
-