Edit

Entity Documentation - minecraft:dash_action

Ability for a rideable entity to dash.

Dash Action Properties

Name Default Value Type Description
can_dash_underwater false Boolean true/false Whether the entity can dash underwater. Default value is false.
cooldown_time 1 Decimal number The dash cooldown in seconds. Default value is 1.000000.
direction entity String Should the momentum be applied in the direction of the 'entity' or 'passenger'.
horizontal_momentum 1 Decimal number Horizontal momentum of the dash.
vertical_momentum 1 Decimal number Vertical momentum of the dash.

direction

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.

Samples