Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.51 KB

minecraftBehavior_find_underwater_treasure.md

File metadata and controls

48 lines (37 loc) · 1.51 KB
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

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