/ride Command in Minecraft Java Edition

Mount and Dismount Entities With /ride

Java EditionPlayers & EntitiesPermission: Level 2Added in 1.19.4Bedrock version →

The /ride command in Minecraft Java Edition lets you control which target rides on top of another target. It provides two actions: making a target mount a vehicle, or making a riding target dismount.

Players and mapmakers use this command in single-player worlds with cheats enabled or as server operators to create custom mob stacks, place players into vehicles, or force riders off their mounts.

Syntax (Java 26.3, 2 forms)

  1. /ride <target> dismount
  2. /ride <target> mount <vehicle>

The forms you will use most

/ride <target> dismount
Makes the chosen target get off whatever vehicle it is currently riding.
/ride <target> mount <vehicle>
Makes the chosen target start riding on top of the selected vehicle target.

Arguments

ArgumentTypeWhat it means
<target>target selector
one target
Specifies the single rider to mount or dismount, using a player name, a UUID, or a target selector that resolves to one target.
<vehicle>target selector
one target
Specifies the single target to be ridden, using a player name, a UUID, or a target selector that resolves to one target.

Examples

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 1.19.4 Command added.

Tips

Common mistakes

Java vs Bedrock

Bedrock Edition also has the /ride command, but it uses completely different syntax and options: /ride <riders: target> start_riding <ride: target> [teleportRules: TeleportRules] [howToFill: FillType], /ride <riders: target> stop_riding, /ride <rides: target> evict_riders, and /ride <rides: target> summon_rider <entityType: EntityType> [spawnEvent: string] [nameTag: string].

See /ride in Bedrock Edition →

FAQ

When was the /ride command added to Minecraft Java Edition?

The /ride command was added to Minecraft Java Edition in version 1.19.4.

Why does /ride say only one entity is allowed?

Both the <target> and <vehicle> arguments accept only a single target at a time, so if you use a selector like @e or @a, you must add limit=1 inside the brackets to select just one target.

What permission level is needed to use /ride?

You need permission level 2, which means being an Operator on a multiplayer server or having cheats enabled in a single-player world.

Related commands

/advancement/attribute/damage/defaultgamemode/effect/experience/gamemode/kill/rotate/spawnpoint/spectate/spreadplayers/summon/swing/teleport/tp