Move To Liquid¶
文档版本:1.21.50.25
Allows the mob to move into a liquid when on land.
架构¶
move_to_liquid:
{
priority "priority"
speed_multiplier "speed_multiplier"
number "goal_radius" : opt
integer "search_count" : opt
integer "search_height" : opt
integer "search_range" : opt
string "material_type" : opt
}
priority
:priority
speed_multiplier
:speed_multiplier
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
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
search_height
:integer- Height in blocks the mob will look for lava to move towards.
search_range
:integer- The distance in blocks it will look for lava to move towards.
material_type
:string- The material type of the liquid block to find. Valid values are 'Any', 'Water', and 'Lava'.