Block Hardness
Description
Checks the hardness of the block at the targeted location against a range. If the block is a Crucible custom block, its configured hardness is used; otherwise the vanilla material hardness is used.
This is a location condition, so it needs a location target.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| hardness | h | The hardness to compare against. Supports range syntax (e.g. >1.5, 1to5) |
0 |
Examples
Conditions:
- blockhardness{h=>1.5} @target