Skip to main content

Or (Meta Condition Type)

Checks whether at least one condition in a list passes.

Type ID: apoli:or

Fields

FieldTypeDefaultDescription
conditionsArray of condition typesrequiredAt least one of these conditions must pass for this one to pass.

Examples

"condition": {
    "type": "apoli:or",
    "conditions": [
        {
            "type": "apoli:status_effect",
            "effect": "minecraft:poison"
        },
        {    
            "type": "apoli:status_effect",
            "effect": "minecraft:wither"
        }
    ]
}

This checks whether the entity has Poison or Wither.