OR Condition - apace100/origins-fabric GitHub Wiki
Usable as any condition. Checks whether the one or more of the provided conditions are fulfilled.
Type ID: origins:or
Fields:
conditions
, array of Conditions of the same type: Any of these (= one or more!) needs to evaluate to true
in order for the whole condition to be true
.
Example:
"condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:status_effect",
"effect": "minecraft:poison"
},
{
"type": "origins:status_effect",
"effect": "minecraft:wither"
}
]
}
This condition added to a power activates the power whenever the player is suffering from poison or wither.