跳转至

Leap At Target

文档版本:1.21.0.24

Allows monsters to jump at and attack their target. Can only be used by hostile mobs.

架构

leap_at_target:
{
  priority "priority"
  boolean "must_be_on_ground" : opt
  boolean "set_persistent" : opt
  number "yd" : opt
  number "target_dist" : opt
}
prioritypriority
priority:
integer
must_be_on_groundboolean
If true, the mob will only jump at its target if its on the ground. Setting it to false will allow it to jump even if its already in the air
set_persistentboolean
Allows the actor to be set to persist upon targeting a player.
ydnumber
The height in blocks the mob jumps when leaping at its target.
target_distnumber
Distance in blocks the mob jumps when leaping at its target.