Entity Documentation - minecraft:behavior.scared
minecraft:behavior.scared
compels an entity to become scared when the weather outside is thundering.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
sound_interval | 0 | Integer | The interval in which a sound will play when active in a 1/delay chance to kick off. |
priority | not set | Integer | The higher the priority, the sooner this behavior will be executed as a goal. |
Example
"minecraft:behavior.scared":{
"sound_interval": 0
}
Vanilla entities examples
panda
"minecraft:behavior.scared": {
"priority": 1,
"sound_interval": 20
}
Vanilla entities using minecraft:behavior.scared
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈