Skip to main content

Aura

saturn:aura

Looks up targets within range at an interval and runs its actions.

The ability type is written at the top level of the ability definition, alongside common fields such as costs and condition; do not nest another type object. For the common fields of an ability file, see Ability definitions.

JSON fields​

FieldTypeRequiredDefaultDescription
typeResource IDyes—saturn:aura
intervalNumber providerno20.0Execution interval, in game ticks.
radiusNumber providerno4.0Radius in blocks; in a resource bar it is in pixels.
entity_actionEntity actionno{"type":"saturn:no_op"}Entity action run on the ability holder or the context entity.
target_selectorTarget selectorno{"type":"saturn:self"}Selector that obtains the ability's target.
target_conditionBi-entity conditionno{"type":"saturn:always"}Bi-entity condition that filters the actor and candidate targets.
bi_entity_actionBi-entity actionno{"type":"saturn:no_op"}Bi-entity action run on the actor and target.
cooldownNumber providerno0.0Cooldown length, in game ticks.

JSON example​

{
"type": "saturn:aura"
}

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.ability.type.AuraAbilityType. This page is based on the Codec in the current 26.1.2 source.