Move To Water¶
文档版本:1.21.50.25
Allows the mob to move back into water when on land.
架构¶
move_to_water:
{
priority "priority"
speed_multiplier "speed_multiplier"
integer "search_range" : opt
integer "search_height" : opt
integer "search_count" : opt
number "goal_radius" : opt
}
priority
:priority
speed_multiplier
:speed_multiplier
search_range
:integer- The distance in blocks it will look for water to move towards.
search_height
:integer- Height in blocks the mob will look for water to move towards.
search_count
:integer- The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick
goal_radius
:number- Distance in blocks within the mob considers it has reached the goal. This is the
wiggle room
to stop the AI from bouncing back and forth trying to reach a specific spot