Entity Documentation - minecraft:behavior.random_breach
minecraft:behavior.random_breach
compels an entity to breach the surface of the water at a random interval.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
cooldown_time | 0.0 | Decimal | Time in seconds the mob has to wait before using the goal again. |
interval | 120 | Integer | A random value to determine when to randomly move somewhere. 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. |
speed_multiplier | 1.0 | Decimal | Movement speed multiplier of the mob when using this AI Goal. |
xz_dist | 10 | Integer | Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1. |
y_dist | 7 | Integer | Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1. |
Example
"minecraft:behavior.random_breach":{
"priority": 2,
"interval": 50,
"cooldown_time": 2.0,
"speed_multiplier": 1.0,
"xz_dist": 6,
"y_dist": 4
}
Vanilla entities examples
dolphin
"minecraft:behavior.random_breach": {
"priority": 6,
"interval": 50,
"xz_dist": 6,
"cooldown_time": 2.0
}
Vanilla entities using minecraft:behavior.random_breach
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示