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 deprecated and may be removed in a future version.

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".