Or

Meta Condition.

This condition checks whether any (meaning 1 or more) of the provided conditions are fulfilled.

Type ID: origins:or

Fields

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

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.