Blast Resistance

Block Condition Type

Checks the blast resistance value of the block.

Type ID: origins:blast_resistance

Fields

Field Type Default Description
comparison Comparison Determines how the blast resistance of the block should be compared to the specified value.
compare_to Float The value at which the blast resistance value of the block will be compared to.

Examples

"block_condition": {
    "type": "origins:blast_resistance",
    "comparison": ">=",
    "compare_to": 1200
}

This example will check if the blast resistance value of the block is that of an Obsidian block or greater.