Material

Block Condition Type

Checks if the block is classified as the specified material.

Type ID: origins:material

Danger

This block condition type has been removed in Origins 1.13.0 due to the removal of block materials in 1.20.

Please use the In Tag (Block Condition Type) instead.

Fields

Field Type Default Description
material Material optional If specified, checks if the block classifies as this material.
materials Array of Materials optional If specified, checks if the block classifies as one of these materials.

Examples

"block_condition": {
    "type": "origins:material",
    "material": "wood"
}

This example will check if the block classifies as "wood".