1.1.0+26.2-neoforge
Curse Maven Snippet
What's new
Added
- Dynamic Description System: Introduced a data-driven way to inject evaluated mathematical curves directly into enchantment translation strings (supporting
<val:key>and<array:key>syntax). - Auto-Wiring Codec: The
EnchantmentCodecMixinnow automatically scans forPointerValuemarkers inside deeply nested effects and wires them to the root description component. PointerValueLevelBasedValue (registered asenchantment_core:pointer) to mark target equations for extraction.DESCRIPTION_ARGSData Component (registered asenchantment_core:description_args) to store the lookup map of extracted curves.DynamicDescriptionParserutility to seamlessly parse translation strings and inject evaluated arguments.POWDER_SNOW_WALKABLEEnchantmentEffectComponent
Fixed
- Forge Mixin Loading in Dependency JARs: Explicitly declared
MixinConfigsinjar.manifestwithinforge/build.gradleso Mixin configurations (enchantment_core.mixins.jsonandenchantment_core.forge.mixins.json) are discovered and loaded when consumed as a library dependency withoutreobfJar. - Premature Registry Codec Querying: Wrapped dispatch getters in
EnchantmentCoreRegistries(getDistanceScalingFunctionCodec(),getSpellFieldShapeCodec(), andgetBaseSpellFieldEffectCodec()) withCodec.lazyInitialized(...)to prevent premature supplier queries andNullPointerExceptioncrashes during Forge's early lifecycle events before custom registries are filled.
This mod has no additional files