Ride Command Generator

Mount or dismount an entity, or summon a new vehicle on Bedrock, with edition-specific syntax generated automatically

Must resolve to one entity, such as @s or @p

Choose from images or enter an entity ID. For mounting, the tool targets the nearest matching vehicle.

Edit this field to use a name, UUID, or custom selector. Java limits the result with limit=1; Bedrock uses c=1

How to use the Ride command generator

  1. Choose the edition and whether to mount, dismount, or summon a new vehicle on Bedrock.
  2. Enter a rider selector that resolves to one entity.
  3. When mounting or summoning a new vehicle, choose its type from images or enter the ID yourself.
  4. Copy the command and run it in Minecraft.

Java emits /ride <rider> mount <vehicle> or dismount; Bedrock emits start_riding or stop_riding automatically.

Bedrock also offers summon_ride to summon a new vehicle and mount the target in one command.

Java does not allow a player to be the vehicle, and the command can fail if the rider is already mounted or the passenger relationship would form a loop.

Ride was added in Java 1.19.4, so this tool is available only for the Java 1.20.5+ profiles and Bedrock Stable.

Worked examples

The examples below come out of the same generator as the form above, so the commands and explanations always match what the tool produces. Copy one and adjust it from there

1. Dismount the current vehicle

This short form works in both Java and Bedrock; the tool changes the subcommand name to match the edition

/ride @s dismount

What it does Will make themselves (whoever runs the command) dismount its current vehicle.

2. Mount the nearest horse in Java

Limits the horse selector to one result with limit=1, as required by the Java command

/ride @p mount @e[type=horse,sort=nearest,limit=1]

What it does Will make the nearest player ride entities matching the condition (with extra conditions).

  • Java rejects the command if the vehicle is a player, the rider is already mounted, or the entities would form a passenger loop

3. Summon a horse and ride it immediately in Bedrock

Bedrock combines both actions with summon_ride, which suits a vehicle button or Command Block

/ride @p summon_ride minecraft:horse reassign_rides

What it does Will summon minecraft:horse as a vehicle for the nearest player using the reassign_rides rule.

How this command differs by edition and version

This is the first example above, run through every edition and version this tool supports. Versions that produce the same result share a row

Java Edition 1.21.5 and up Java Edition 1.20.5 - 1.21.4
/ride @s dismount
Bedrock Edition (stable)
/ride @s stop_riding

Before you use these