Channelled
saturn:channelled
Keeps the ability in use, paying the upkeep cost every beat and running 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
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
type | Resource ID | yes | — | saturn:channelled |
tick_interval | Number provider | no | 1.0 | Beat interval of the channel, in game ticks. |
upkeep_costs | Cost array | no | [] | Costs that must be paid on every channelling beat. |
entity_action | Entity action | no | {"type":"saturn:no_op"} | Entity action run on the ability holder or the context entity. |
target_selector | Target selector | no | {"type":"saturn:self"} | Selector that obtains the ability's target. |
target_condition | Bi-entity condition | no | {"type":"saturn:always"} | Bi-entity condition that filters the actor and candidate targets. |
bi_entity_action | Bi-entity action | no | {"type":"saturn:no_op"} | Bi-entity action run on the actor and target. |
cooldown | Number provider | no | 0.0 | Cooldown length, in game ticks. |
JSON example
{
"type": "saturn:channelled"
}
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.ChannelledAbilityType. This page is based on the Codec in the current 26.1.2 source.