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.

Example
Summon an arrow at the position of each player who have "A" tag:

Summon a charged creeper at the position of each player who have "A" tag:

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