Slime Random Direction¶
文档版本:1.21.50.25
Can only be used by Slimes and Magma Cubes. Allows the mob to move in random directions like a slime.
架构¶
slime_random_direction:
{
priority "priority"
integer "add_random_time_range" : opt
number "min_change_direction_time" : opt
integer "turn_range" : opt
}
priority
:priority
add_random_time_range
:integer- Additional time (in whole seconds), chosen randomly in the range of [0, "add_random_time_range"], to add to "min_change_direction_time".
min_change_direction_time
:number- Constant minimum time (in seconds) to wait before choosing a new direction.
turn_range
:integer- Maximum rotation angle range (in degrees) when randomly choosing a new direction.