跳转至

Move To Random Block

文档版本:1.21.0.24

Allows mob to move towards a random block.

架构

move_to_random_block:
{
  priority "priority"
  speed_multiplier "speed_multiplier"
  number "block_distance" : opt
  number "within_radius" : opt
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
block_distancenumber
Defines the distance from the mob, in blocks, that the block to move to will be chosen.
within_radiusnumber
Defines the distance in blocks the mob has to be from the block for the movement to be finished.