minecraft:addrider for you with a switch.Get GodCraftOverview
minecraft:addrider is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Spawns other entities already riding this one when it appears, like a chicken jockey. The entity also needs minecraft:rideable with enough seats.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
riders | Rider Data[] | none | The entities to spawn as passengers. Only as many as the seat count of minecraft:rideable will fit. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:addrider": {
"riders": []
}
}