Delay

Meta Action.

Executes the provided action after a set amount of ticks.

Type ID: apoli:delay

Note

Only available as an Entity Action

Fields

Field Type Default Description
action Action The action which will be executed after the delay.
ticks Integer The amount of ticks until the action is executed.

Example

"entity_action": {
    "type": "apoli:delay",
    "ticks": 20,
    "action": {
      "type": "apoli:apply_effect",
      "effect": {
        "effect": "minecraft:speed",
        "amplifier": 1,
        "duration": 80
      }
    }
}

This action will apply a speed effect after 1 second.