Repeat (1.2.0+)
Last updated
Executes nested abilities immediately, then repeats them for a configured duration.
Use this ability when an effect should keep running over time. For example, a death aura can use repeat outside nearby_entities.
type: repeat
duration: 100
interval: 20
abilities:
1:
type: nearby_entities
radius: 7
abilities:
1:
type: potion_effect
target: TARGET
potion: SLOWNESS
duration: 80
amplifier: 1duration: How long the nested abilities keep repeating, in ticks.
When omitted or set to 0, the nested abilities run once immediately.
interval: Repeat interval in ticks when duration is greater than 0.
abilities: Nested abilities to execute.
Last updated
duration: 100interval: 20abilities:
1:
type: sound
sound: ENTITY_WITHER_AMBIENT