Random Hover¶
文档版本:1.21.50.25
Allows the mob to hover around randomly, close to the surface.
架构¶
random_hover:
{
priority "priority"
speed_multiplier "speed_multiplier"
array "hover_height" : opt
{
number "0..0" : opt
number "1..1" : opt
}
integer "interval" : opt
integer "xz_dist" : opt
integer "y_dist" : opt
number "y_offset" : opt
}
priority
:priority
speed_multiplier
:speed_multiplier
hover_height
:array- The height above the surface which the mob will try to maintain.
hover_height
0..0
:number
1..1
:number
interval
:integer- A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal
xz_dist
:integer- Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1
y_dist
:integer- Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1
y_offset
:number- Height in blocks to add to the selected target position.