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


 * Specifies the name of the to-be-summoned entities.
 * Must be either a single word (no spaces) or a quoted string.


 * 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
コマンド/ride 命令/ride