new_armor_system-1.1.0-1.20.1.jar
Curse Maven Snippet
What's new
New Armor System 1.1.0
Added
Six new events: ArmorHurt, ArmorReflect, ArmorReduce, PlayerFallDamage, ItemBroken and ItemRepaired. ArmorHurt / ArmorReflect can be cancelled and modified (durability loss, reflected amount and reflect target); the rest are modifiable or read-only. With no listeners, behaviour is identical to not firing the event at all. ArmorHurtEvent mirrors NeoForge 1.21 and MesdagPortLib field by field, so addons can forward to it at zero cost. Armor attribute override API: register per item, per item/slot or per material/slot, including non-armor items. The attribute screen, damage reduction and tooltips all read from the same source; 0 removes the attribute line, negative values are rejected, and broken items are never modified. The mass system now uses the overridden values. Mixin priority mechanism: the four takeover @Overwrite mixins now use MixinPriorities.TAKEOVER(500), so other mods' @Inject / @ModifyVariable / MixinExtras wrappers keep working instead of failing at startup with InvalidInjectionException. Compatibility entries: three new registerArmorAttributes forwarding methods (material+slot / item / item+slot).
Fixed
Tooltip layout: the mass line no longer sinks to the bottom when Apothic Attributes is installed — insertion now uses a three-tier anchor (after the attribute block, then after the vanilla armor lines, then fallback to the end of the list). Startup crash: the broken check now reads NBT first and only then queries max damage, avoiding item registry access during Bootstrap (fixes a morecraft compatibility crash).
Changed
Fall damage rework: the result is now always returned through PlayerFallDamageEvent, with the safe-area case going through the same path; unchanged when nothing listens. Registered ArmorAttributeMixin; version bumped from 1.0.0 to 1.1.0; documentation fixes and dead code cleanup.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

