Entity Documentation - minecraft:addrider
minecraft:addrider
adds a rider to the entity.
Important
minecraft:addrider
requires minecraft:rideable
in order to work properly.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
entity_type | not set | String | The entity type that will be riding this entity. |
spawn_event | not set | String | The spawn event that will be used when the riding entity is created. |
Example
"minecraft:addrider":{
"spawn_event": "minecraft:spawn_as_illager",
"entity_type": "minecraft:villager"
}
Vanilla entities examples
spider
"minecraft:addrider": {
"entity_type": "minecraft:skeleton"
}