Skip to main content

Run action

saturn:action

Runs an entity action inside a timeline.

A timeline node only describes the behavior of this step. Node IDs, successors and the whole timeline are assembled by the consumer; it is not a standalone dynamic registry.

JSON fields​

FieldTypeRequiredDefaultDescription
typeResource IDyes—saturn:action
actionEntity actionyes—The sub-action to run; its kind must match what this field expects.

JSON example​

{
"type": "saturn:action",
"action": {
"type": "saturn:no_op"
}
}

This is a value to embed in the corresponding field, not a standalone loadable data pack file. The example: references in the examples must be replaced with defined entries.

Java entry point​

com.iafenvoy.saturn.data.timeline.builtin.ActionEntry. This page is based on the Codec in the current 26.1.2 source.