Список изменений
Fixes Fixed a server crash caused by summoned AllySurrendered entities when attacking The crash was due to a missing minecraft:generic.attack_damage attribute. The entity no longer relies on that missing attribute for damage calculation; instead, it now uses config values and the attack logic has been fully rewritten.
Additions Potency enchantment integration AllySurrendered now gains permanent buffs based on the highest Potency enchantment level found on its owner's equipment:
No Potency: Equips only an unenchanted iron sword.
Potency I: Equips an iron sword + iron helmet.
Potency II: Equips an iron axe + iron chestplate (helmet is retained).
Potency III and above: On top of Potency II, the weapon receives Sharpness and the armor receives Protection, with enchantment level equal to Potency level - 2.
Additionally, the entity gains a permanent goety:buff effect at the same level as the Potency enchantment (no effect when Potency is absent).
Miscellaneous Adjusted initial equipment setup to avoid conflicts with dynamic Potency-based equipment.
Optimized equipment and effect update timing, only reapplying when the Potency level changes.

