Hardness (Block Condition Type)
Compares the block's hardness with a number. Hardness decides how long the block takes to break.
Type ID: apoli:hardness
Fields
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | How the hardness is compared with compare_to. |
compare_to | Float | required | The number the hardness is compared with. |
Examples
"block_condition": {
"type": "apoli:hardness",
"comparison": "==",
"compare_to": 1.5
}This checks whether the block is exactly as hard as stone.