
/ride
Makes an entity ride another, or dismounts it. Its basic form is /ride <target> dismount; it has 2 syntax forms and 2 arguments. Permission: Cheats / op 2.
/ride syntax
Game dataEvery form the game accepts. Words in <angle brackets> are arguments you fill in; everything else is typed as is.
/ride <target> dismount/ride <target> mount <vehicle>/ride examples
Ready-to-paste examples (cheats on). @s is you, @p the nearest player, @a everyone, @e every entity.
/ride @s mount @e[type=minecraft:horse,limit=1,sort=nearest]- Mounts you on the nearest horse, even if it isn't tamed.
/ride @s dismount- Gets you off whatever you're riding.
/ride arguments
What each argument expects, with the limits the game enforces.
| Argument | Expects | Limits |
|---|---|---|
<target> | Target selector or player name (@s, @p, @a, @e, @r) | one target |
<vehicle> | Target selector or player name (@s, @p, @a, @e, @r) | one target |
Other commands
Data: Minecraft Java Edition 26.3 game files. How we source this
Makes an entity ride another, or dismounts it. It has 2 syntax forms and can be run by: Cheats / op 2.
See Also
Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.
/ride FAQ (Java 26.3)
What does /ride do in Minecraft?
Makes an entity ride another, or dismounts it.
What is the syntax of /ride?
The basic form is /ride <target> dismount. All forms are listed above.
What is an example of /ride?
/ride @s mount @e[type=minecraft:horse,limit=1,sort=nearest] — Mounts you on the nearest horse, even if it isn't tamed.
Do you need cheats for /ride?
Yes: Cheats / op 2. In singleplayer turn on Allow Cheats (or open to LAN with cheats).