minecraft:dash_action

Ability for a rideable entity to dash.

Properties

PropertyTypeDefaultWhat it does
cooldown_timeDecimal1The dash cooldown in seconds
horizontal_momentumDecimal1Horizontal momentum of the dash.
vertical_momentumDecimal1Vertical momentum of the dash.
can_dash_underwaterBooleanfalseWhether the entity can dash underwater
directionTextentity, passenger"entity"Should the momentum be applied in the direction of the 'entity' or 'passenger'. When 'entity' is used the momentum is applied horizontally according to the direction the entity is looking, using only the entity's yaw. When 'passenger' is used the momentum will be applied in the direction the controlling passenger is looking, using the passenger's pitch and yaw.

Example from the game files

This is how vanilla Nautilus uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:dash_action": {
    "cooldown_time": 2,
    "horizontal_momentum": 154.0,
    "vertical_momentum": 0.1,
    "can_dash_underwater": true,
    "direction": "passenger"
  }
}

Used by 4

Vanilla entities with minecraft:dash_action in their definition:

Related components