Equivalent Legacy (1.6.5)
Curse Maven Snippet
What's new
v1.6.5 - Conditional custom conversions (ATM / Powah compat)
Removes error-log noise on packs that do not ship All The Modium or Powah. No gameplay change.
Changed
- Custom conversion files now honour NeoForge load conditions.
CustomConversionMapperwraps its ops inConditionalOpsand parses eachpe_custom_conversionsfile throughcreateConditionalCodecWithConditions, the same pattern already used by the world-transmutation loader. A file whoseneoforge:conditionsare not met is skipped silently (debug log) instead of being force-loaded. - Bundled ATM / Powah EMC compat is now gated.
atm_powah_compat.jsonwas split intoatm_compat.json(gated behindneoforge:mod_loadedforallthemodium) andpowah_compat.json(gated behindneoforge:mod_loadedforpowah); the original file is kept empty for backwards compatibility. When neither mod is installed, the loader no longer logs a wall ofUnable to deserialize key: Registry minecraft:item does not contain element allthemodium:…/Failed to read conversions: … powah:…errors on every EMC map. All EMC values and conversions are preserved unchanged for packs that do ship those mods.
Technical Changes
CustomConversionFile— addedCONDITIONAL_CODEC = ConditionalOps.createConditionalCodecWithConditions(CODEC).CustomConversionMapper.load(…)— buildsnew ConditionalOps<>(registryAccess.createSerializationContext(JsonOps.INSTANCE), ICondition.IContext.EMPTY), parses withCONDITIONAL_CODEC, mergesWithConditions::carrier, and on an empty result logsSkipping loading custom conversion file … as its conditions were not metat debug.- New resources:
data/equivalent_legacy/pe_custom_conversions/atm_compat.json,…/powah_compat.json;…/atm_powah_compat.jsonrewritten as an empty, double-gated placeholder.
Notes
./gradlew clean buildOK on both the 26.2 and 1.21.1 trees. Not verified in-game. Same change shipped for 1.21.1 as0.0.0-beta.4.
JAR: equivalent_legacy-26.2-neoforge-26.2.0.57-1.6.5.jar
Tag: 26.2-neoforge-1.6.5
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects
