goety_invasion-1.0.4.jar
Curse Maven Snippet
What's new
Fixes
-
Fixed a server crash caused by summoned
AllySurrenderedentities when attacking
The crash was due to a missingminecraft:generic.attack_damageattribute. 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
AllySurrenderednow 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:buffeffect 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.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

