Float Wander¶
文档版本:1.21.50.25
Allows the mob to float around like the Ghast.
架构¶
float_wander:
{
priority "priority"
integer "xz_dist" : opt
integer "y_dist" : opt
number "y_offset" : opt
boolean "must_reach" : opt
boolean "random_reselect" : opt
range_number_type "float_duration"
}
priority:priority
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.
must_reach:boolean- If true, the point has to be reachable to be a valid target.
random_reselect:boolean- If true, the mob will randomly pick a new point while moving to the previously selected one.
float_duration:range_number_type- Range of time in seconds the mob will float around before landing and choosing to do something else.
0..0:number- The first value of the range.
1..1:number- The second value of the range.
range_min:number- The minimum value of the range.
range_max:number- The maximum value of the range.