Allows the mob to move towards the nearest underwater ruin or shipwreck.
Find Underwater Treasure Behavior Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
priority | not set | Integer number | As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal. | Dolphin: 2 |
search_range | 0 | Integer number | The range that the mob will search for a treasure chest within a ruin or shipwreck to move towards. | Dolphin: 30 |
speed_multiplier | 1 | Decimal number | Movement speed multiplier of the mob when using this AI Goal | Dolphin: 2 |
stop_distance | 2 | Decimal number | The distance the mob will move before stopping. | Dolphin: 50 |
Samples
Dolphin
"minecraft:behavior.find_underwater_treasure": {
"priority": 2,
"speed_multiplier": 2,
"search_range": 30,
"stop_distance": 50
}