Entity Documentation - minecraft:behavior.find_underwater_treasure
minecraft:behavior.find_underwater_treasure
compels an entity to locate and travel to the nearest point of interest labeled as ruin
or shipwreck
.
Parameters
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. |
Example
"minecraft:behavior.find_underwater_treasure":{
"priority": 2,
"search_range": 8,
"cooldown_time":10,
"speed_multiplier":3
}
Vanilla entities examples
dolphin
"minecraft:behavior.find_underwater_treasure": {
"priority": 2,
"speed_multiplier": 2.0,
"search_range": 30,
"stop_distance": 50
}
Vanilla entities using minecraft:behavior.find_underwater_treasure
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for