generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 171
OR Condition
apace100 edited this page Nov 2, 2020
·
1 revision
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.
Tutorials (Data packs)
Video Tutorial by CandyCaneCazoo
Tutorials (Add-ons)
Working with more unique powers
Lists
List of vanilla damage source names
Data Types