Actions - apace100/origins-fabric GitHub Wiki

Actions are, along-side Conditions, Origins' way of serializing (= making data-driven) complex behavior (requires v0.4.1 and higher!). They are not used by any Origins in the default set, and are therefore not well tested or very exhaustive. However, they were implemented in order to better satisfy the requirements towards the data-driven system of the suggestions I've seen, thus may be quite useful for data pack creators.

They are grouped by the type of object they act on, such as entities, blocks or items:

However, you are always able to use these special "meta" actions: origins:and, origins:chance, origins:if_else and origins:choice. See AND Action, Chance Action, If-Else Action and Choice Action for details.