-
Notifications
You must be signed in to change notification settings - Fork 176
Conditions
Conditions are Origins' main way of defining more complex functionality of powers in the new data-driven system (v0.4.0 or higher).
They are grouped by the type of object they act on, such as players, blocks or items:
However, you are always able to use two special conditions: origins:and
and origins:or
. They take in an array of other conditions of the required type and combine them via the logical operator and
and or
, respectively. See AND Condition and OR Condition for details.
Additionally, every condition supports a single field, independent of type:
inverted
, boolean, default = false: If set to true, Origins will instead check that this condition is NOT fulfilled.
Tutorials (Data packs)
Video Tutorial by CandyCaneCazoo
Tutorials (Add-ons)
Working with more unique powers
Lists
List of vanilla damage source names
Data Types