Skip to content

Material

Block Condition Type

Checks if the block is classified as the specified material.

Type ID: origins:material

Fields

Field Type Default Description
material String optional If specified, checks if the block classifies as this material. See Materials for possible values.
materials Array of Strings optional If specified, checks if the block classifies as one of these materials. See Materials for possible values.

Examples

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

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