Skip to content

Client Action Over Time

Power Type

An Action Over Time (Power Type) that runs on the client instead of the server.

Type ID: apugli:client_action_over_time

Fields

Field Type Default Description
interval Integer 20 Interval of ticks between subsequent executions of the specified actions. Must be a value of at least 1.
entity_action Entity Action Type optional The action to execute on the entity that has the power each interval.
rising_action Entity Action Type optional The action to execute on the first interval tick in which the condition became true.
falling_action Entity Action Type optional The action to execute on the first interval tick in which the condition became false.

Examples

{
    "type": "apugli:client_action_over_time",
    "entity_action": {
        "type": "apoli:add_velocity",
        "y": 2,
        "server": false
    },
    "interval": 20
}
This example will launch the entity upwards on the client every 20 ticks.