Or

Meta Condition Type

Checks whether any (one or more) of the provided conditions are fulfilled.

Type ID: origins:or

Fields

Field Type Default Description
conditions Array of Condition Types Any of these condition types have to be fulfilled in order for this condition to be fulfilled.

Examples

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

This example will check if the entity has either the Poison or Wither status effects.