Minecraft Ride Command Generator

Put players and mobs on a mount, or get them off again.

Ride settings

Rider

More filters
@p

Use a player name or a selector. Java ride targets must select one entity.

Mount

More filters
@e[type=minecraft:horse,sort=nearest,limit=1]

Choose a single mount. Limit 1 in Java, count 1 in Bedrock.

Import a ride command

Choose the edition before building your command. Java uses mount and dismount; Bedrock also lets you summon a rider or mount and remove passengers.

Choose who rides what

  1. Select an edition and action. For Java, select one rider and one mount.
  2. Use a player name, paste a selector, or open the selector builder to filter nearby entities.
  3. Copy the command into chat, or select command block output to omit the slash. The function download also omits it.

A pig on a horse in Java

Tag one pig with ride_test, then use the Mob rides example. The selector chooses that pig and the nearest horse. Both entities must already exist in loaded chunks.

/ride @e[type=minecraft:pig,tag=ride_test,limit=1] mount @e[type=minecraft:horse,sort=nearest,limit=1]

Why a ride can fail

The command changes a riding relationship, not the controls of the mount. In Java, dismount an already-mounted rider first. A passenger chain cannot loop back onto itself, and players cannot be vehicles. Bedrock follows the mount’s allowed rider families and available seats.

Bedrock passengers and seats

Evict passengers targets the mount. Summon a rider creates a passenger on an existing mount; summon a mount creates a new ride for the selected riders. Move rider to mount and Move mount to rider decide which entity teleports. Only if the group fits avoids filling just part of a group.

For a smaller Java example, select Java 26.3, rider @p and Dismount. The exact chat output is /ride @p dismount. There is no mount argument for this action. Switching the output destination to command block produces ride @p dismount. To mount again, choose Mount and select an existing vehicle; the default horse selector includes sort=nearest and limit=1.

If generation stops, check each selector separately. Java requires a single rider and a single mount, so an unrestricted @e does not qualify. The validator also rejects a player as a Java mount and identical rider and mount selectors. Edition-specific arguments matter: Java uses limit, while Bedrock uses c. Import accepts one complete command, not several lines, and validates the imported settings before applying them. Use the plain ride command name; a minecraft: prefix is rejected.