Skip to main content

Sprint Stop

The arc:on_sprint_stop action type is triggered when a player stops sprinting.

Action Data

When this action is triggered, the following action data is made available to be used by conditions and rewards:

This action does not produce any action data.

Example

The following example will give the player a Slowness II effect for 10 seconds as long as they are not sprinting.

data/my_datapack/arc/slowness_on_sprint_stop.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_sprint_stop",
"rewards": [
{
"type": "arc:effect",
"effect": "minecraft:slowness",
"duration": 200,
"amplifier": 1
}
]
}

Compatible Condition Types

The following condition types can be used with this action type:

Compatible Reward Types

The following reward types can be used with this action type: