Commands/ride

Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders.

Syntax

 * Makes  ride on.
 * Makes  dismount.
 * Makes entities that are riding on  dismount.
 * Summon an entity at the position of each of  that are not riding on and not ridden by other entity(s), 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 not riding on and not ridden by other entity(s), 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

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


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


 * Specifies entities that are ridden.
 * 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 entities to be summoned.


 * Must be either a single word (no spaces) or a quoted string.
 * Specifies the in-game event for the to-be-summoned entities. Should be a spawn event (event name for entities in behavior pack).


 * Must be either a single word (no spaces) or a quoted string.
 * 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, summons entities for all entities.

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
命令/ride