Entity Documentation - minecraft:behavior.lay_down
minecraft:behavior.lay_down
compels an entity randomly lay down for a period of time.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
interval | 120 | Integer | A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal |
priority | not set | Integer | The higher the priority, the sooner this behavior will be executed as a goal. |
random_stop_interval | 120 | Integer | A random value to determine at what interval the AI goal can stop. This has a 1/interval chance to stop this goal. |
Example
"minecraft:behavior.lay_down":{
"priority": 4,
"interval": 240,
"random_stop_interval": 120
}
Vanilla entities examples
panda
"minecraft:behavior.lay_down": {
"priority": 5,
"interval": 400,
"random_stop_interval": 2000
}
Vanilla entities using minecraft:behavior.lay_down
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈