Enchantment Core

A data-driven enchantment component and utility library.
Back to Files

1.1.0+26.2-fabric

File nameenchantment-core-1.1.0-26.2-fabric.jar
Uploader
ByouneByoune
Uploaded
Nov 20, 2026
Downloads
2
Size
661.8 KB
Mod Loaders
Fabric
File ID
9724314
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:enchantment-core-1703332:9724314"

Learn more about Curse Maven

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 EnchantmentCodecMixin now automatically scans for PointerValue markers inside deeply nested effects and wires them to the root description component.
  • PointerValue LevelBasedValue (registered as enchantment_core:pointer) to mark target equations for extraction.
  • DESCRIPTION_ARGS Data Component (registered as enchantment_core:description_args) to store the lookup map of extracted curves.
  • DynamicDescriptionParser utility to seamlessly parse translation strings and inject evaluated arguments.
  • POWDER_SNOW_WALKABLE EnchantmentEffectComponent

Fixed

  • Forge Mixin Loading in Dependency JARs: Explicitly declared MixinConfigs in jar.manifest within forge/build.gradle so Mixin configurations (enchantment_core.mixins.json and enchantment_core.forge.mixins.json) are discovered and loaded when consumed as a library dependency without reobfJar.
  • Premature Registry Codec Querying: Wrapped dispatch getters in EnchantmentCoreRegistries (getDistanceScalingFunctionCodec(), getSpellFieldShapeCodec(), and getBaseSpellFieldEffectCodec()) with Codec.lazyInitialized(...) to prevent premature supplier queries and NullPointerException crashes during Forge's early lifecycle events before custom registries are filled.