Commands/ride

Allows entities to mount or dismount other entities. Players cannot be used as vehicles.

$$ this command can be used to summon passengers and vehicles, but players cannot ride mobs which are not normally rideable (horses, mules, donkeys, etc.).

Syntax

 * Java Edition
 * Makes  ride on.
 * Dismounts  from any vehicle it is riding.
 * Dismounts  from any vehicle it is riding.
 * Dismounts  from any vehicle it is riding.


 * Bedrock Edition
 * Makes  ride on.
 * Makes  dismount.
 * Makes entities that are riding on  dismount.
 * Summon an entity at the position of each of  that are rideable and not full, then make them ride on.
 * Summon an entity at the position of each of, then make   ride on them.
 * Makes entities that are riding on  dismount.
 * Summon an entity at the position of each of  that are rideable and not full, then make them ride on.
 * Summon an entity at the position of each of, then make   ride on them.
 * Summon an entity at the position of each of, then make   ride on them.
 * Summon an entity at the position of each of, then make   ride on them.

Arguments

 * Specifies the riders.
 * If in  mode, should be only one entity if   is.


 * Specifies an entity to be ridden on.
 * Should be only one entity.


 * Specifies entities that are ridden.


 * Must be one of  and.
 * Specified which entities are teleported. If unspecified, defaults to.


 * Must be one of  and.
 * If, checks whether all   can ride on   at the same time, and makes them ride only if true.
 * If  or unspecified, makes them ride up one by one until it's full.


 * Specifies the entities to be summoned.


 * Specifies the in-game event for the to-be-summoned entities. Should be a spawn event (event name for entities in behavior pack).


 * Specifies the name of the to-be-summoned entities.


 * Must be one of,  , and.
 * If, summons entities only for   that are not riding on another entity.
 * If, summons entities only for   that are not riding on and not ridden by other entity(s).
 * If  or unspecified, makes   dismount if they're riding, then summons entities for all of them.

Bedrock Edition Valid Ride Combinations
Note for users expanding this table: Put adult mobs and baby mobs as separate mobs for Rides (if applicable).

These are combinations of mobs that actually stay riding when ran with the /ride command, Combinations not listed on this table will just spawn the mob, but they will not actually start riding (Note: There are combinations not on this list that will actually work, as this list is incomplete. ).

Example
Summon an arrow at the position of each player who have "A" tag(Note: this will only work in bedrock edition because in java edition the player will actually start riding the arrow):

Summon a charged creeper at the position of each player who have "A" tag(Note: this will only work in bedrock edition because in java edition the player will actually start riding the charged creeper):

History
Befehl/ride コマンド/ride Comandos/ride 命令/ride