Leap At Target¶
文档版本:1.21.50.25
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
}
priority
:priority
must_be_on_ground
:boolean- 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_persistent
:boolean- Allows the actor to be set to persist upon targeting a player.
yd
:number- The height in blocks the mob jumps when leaping at its target.
target_dist
:number- Distance in blocks the mob jumps when leaping at its target.