You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
新增 EntityTag.add_target_goal 机制,经 Paper 的 Mob Goals API 为生物添加一个索敌目标,使其主动把符合实体匹配器的生物实体当作攻击目标,行为仿照原版“寻找玩家”的那一个:平均每半秒在范围内搜索一次,攻击其中最近的一个;目标死亡、离开范围、不再符合匹配器,或约 3 秒看不见后即告放弃。此前只能经 attack 从外部指定目标,原版 AI 一旦改换或遗忘目标,脚本就得重新指定。