Stalk And Pounce On Target¶
文档版本:1.21.50.25
Allows an entity to stalk a specific target. Once within range of the target, the entity will then leap at the target and deal damage based upon its attack attribute.
架构¶
stalk_and_pounce_on_target:
{
  priority "priority"
  number "interest_time" : opt
  number "leap_distance" : opt
  number "leap_height" : opt
  number "max_stalk_dist" : opt
  number "pounce_max_dist" : opt
  boolean "set_persistent" : opt
  number "stalk_speed" : opt
  number "strike_dist" : opt
  number "stuck_time" : opt
  number "leap_dist" : opt
  filters "stuck_blocks"
}
priority:priority
interest_time:number- The amount of time the mob will be interested before pouncing. This happens when the mob is within range of pouncing
 
leap_distance:number- The distance in blocks the mob jumps in the direction of its target.
 
leap_height:number- The height in blocks the mob jumps when leaping at its target.
 
max_stalk_dist:number- The maximum distance away a target can be before the mob gives up on stalking.
 
pounce_max_dist:number- The maximum distance away from the target in blocks to begin pouncing at the target.
 
set_persistent:boolean- Allows the actor to be set to persist upon targeting a player.
 
stalk_speed:number- The movement speed in which you stalk your target.
 
strike_dist:number- The Maximum distance away from the target when landing from the pounce that will still result in damaging the target.
 
stuck_time:number- The amount of time the mob will be stuck if they fail and land on a block they can be stuck on.
 
leap_dist:number- The distance in blocks the mob jumps in the direction of their target.
 
stuck_blocks:filters- 一个过滤器组。Filters to apply on the block the mob lands on to determine if it is valid for getting stuck.