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"
}
Vanilla entities using minecraft:addrider
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈