author | ms.author | title | description | ms.service |
---|---|---|---|---|
iconicNurdle |
mikeam |
Entity Documentation - minecraft:behavior.find_underwater_treasure |
A reference document detailing the 'behavior.find_underwater_treasure' entity goal |
minecraft-bedrock-edition |
minecraft:behavior.find_underwater_treasure
compels an entity to locate and travel to the nearest point of interest labeled as ruin
or shipwreck
.
Name | Default Value | Type | Description |
---|---|---|---|
priority | not set | Integer | The higher the priority, the sooner this behavior will be executed as a goal. |
search_range | 0 | Integer | The range that the mob will search for a treasure chest within a ruin or shipwreck to move towards. |
speed_multiplier | 1.0 | Decimal | Movement speed multiplier of the mob when using this AI Goal |
stop_distance | 2.0 | Decimal | The distance the mob will move before stopping. |
"minecraft:behavior.find_underwater_treasure":{
"priority": 2,
"search_range": 8,
"cooldown_time":10,
"speed_multiplier":3
}
"minecraft:behavior.find_underwater_treasure": {
"priority": 2,
"speed_multiplier": 2.0,
"search_range": 30,
"stop_distance": 50
}