Commands/ride

Allows entities to mount or dismount other entities.

Usage
Players cannot be ridden by other entities.

$$, all types of entities (except marker and player) can ride and be ridden by other entities of any types.

$$, an entity cannot ride entities which are not normally rideable for it in vanilla game, which is controlled by the vanilla bahavior packs. $$, this command can also be used to summon passengers and mounts.

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 passenger.
 * Specifies the passenger.


 * Specifies the mount.
 * Specifies the mount.


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


 * Specifies an mount.
 * Should be only one entity.
 * Should be only one entity.


 * Specifies the mounts.
 * Specifies the mounts.


 * Must be one of  and.
 * Specified which entities are teleported. If unspecified, defaults to.
 * 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.
 * If  or unspecified, makes them ride up one by one until it's full.


 * Specifies the entities to be summoned.
 * Specifies the entities to be summoned.


 * Specifies the entity event for the to-be-summoned entities. Should be a spawn event (event name for entities in behavior pack).
 * Specifies the entity 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.
 * 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.
 * 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