Entity Documentation - minecraft:behavior.breed
minecraft:behavior.breed
allows an entity to breed with other entities that have been assigned.
Important
minecraft:behavior.breed
requires the minecraft:breedable component in order to work properly.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
priority | not set | Integer | The higher the priority, the sooner this behavior will be executed as a goal. |
speed_multiplier | 1.0 | Decimal | Movement speed multiplier of the mob when using this AI Goal. |
Example
"minecraft:behavior.breed":{
"priority": 1,
"speed_multiplier": 3.0
}
Vanilla entities examples
cow
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
}
Vanilla entities using minecraft:behavior.breed
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈