Bi-entity action
The context contains an actor (the initiator) and a target. The same ID may have different fields in the entity action and bi-entity action registries; the two kinds are not interchangeable.
| Type | Purpose |
|---|---|
saturn:no_op | Does nothing; usable as a placeholder action value. |
saturn:sequence | Runs several actions of the same kind in array order. |
saturn:chance | Decides whether the action fires based on a given chance. |
saturn:if_else | Runs if_action when the condition holds, otherwise runs else_action. |
saturn:choice | Picks one action at random by weight and runs it. |
saturn:actor_action | Hands the actor of the bi-entity context to an entity action. |
saturn:target_action | Hands the target of the bi-entity context to an entity action. |
saturn:send_message | Sends a text component to players that match the recipient condition, optionally to the chat bar or the action bar. |
saturn:js | Calls a callback registered by KubeJS and passes the params argument. |
saturn:mount | Makes the actor ride the target. |
saturn:heal_target | Restores health to the target entity of the bi-entity context. |
saturn:transfer_resource | Transfers the given Saturn resource between the actor and the target. |
saturn:add_velocity | Adds velocity, or replaces it with the given vector. |
saturn:teleport | Changes the position of the entity. |