Hold Ground¶
文档版本:1.21.50.25
The mob freezes and looks at the mob they are targeting.
架构¶
hold_ground:
{
priority "priority"
boolean "broadcast" : opt
number "broadcast_range" : opt
number "min_radius" : opt
event "within_radius_event"
}
priority:priority
broadcast:boolean- Whether to broadcast out the mob's target to other mobs of the same type.
broadcast_range:number- Range in blocks for how far to broadcast.
min_radius:number- Minimum distance the target must be for the mob to run this goal.
within_radius_event:event- Event to run when target is within the radius. This event is broadcasted if broadcast is true.
event:string- The event to fire.
target:string- The target of the event.