minecraft:addrider

Adds riders to the entity. Requires "minecraft:rideable". Can only spawn as many riders as "minecraft:rideable" has "seat_count".

Properties

PropertyTypeDefaultWhat it does
ridersList of object[]List of riders to be added to the entity. Can only spawn as many riders as "minecraft:rideable" has "seat_count".
entity_type requiredText—The entity type that will be riding this entity.
spawn_eventText""The spawn event that will be used when the riding entity is created.

Example from the game files

This is how vanilla Camel Husk uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:addrider": {
    "riders": [
      {
        "entity_type": "minecraft:husk",
        "spawn_event": "minecraft:spawn_as_rider"
      },
      {
        "entity_type": "minecraft:parched",
        "spawn_event": "minecraft:ranged_mode"
      }
    ]
  }
}

Used by 6

Vanilla entities with minecraft:addrider in their definition:

Related components