kaledelights_compat-1.3.2.jar
Curse Maven Snippet
What's new
1.3.2 — Config Fixes & a Readable Config Format
Fixed
Fixed:
unify.jsonwas never actually read. The generated_checklistwas a JSON array while the field reading it was typed as a string, so Gson threwExpected a string but was BEGIN_ARRAYand the mod silently fell back to in-memory defaults — every setting in that file was ignored (preset rule groups, blacklist, custom mappings, block mappings,AllowItemDeletion). The field now accepts any shape, and a parse failure is logged as "all settings in this file will not take effect", so it can never fail silently again.Fixed: two of the three player "remove" switches did nothing.
BlacklistandRule Groupsremoved their rules too early — the removals were wiped when the replacement cache was rebuilt right afterwards. (Same timing issue that was fixed forAllowItemDeletionin 1.3.1; these two were missed there.) All three switches now register their removals and run them after the reload finishes, with a read-back check and a log line reporting how many rules were really removed.Fixed: only the last rule of a group was removed when that group contained several rules (the registration key collided).
Changed
unify.jsonis nowunify.omniconf— a sectioned, comment-friendly format:#comments,"Rule Groups" { B:deleteItems=true }, andS:Items < source_id to target_id >lists. Same style as theenigmaticaddons-common.omniconfalready used in many packs.- The 100-line
_checklistblock is gone; the file shrank from 7.7 KB to 4.7 KB - An existing
unify.jsonis migrated automatically on first launch and kept asunify.json.migrated.bak - A line the parser cannot read now only affects that line — a single bad entry can no longer invalidate the whole config
- The 100-line
- Config keys are English-only. Chinese keys from 1.3.0 and older (
森罗砧板,盐,允许删除物品, …) are no longer recognised. Old files do not cause errors, but every switch falls back to its default (all enabled, includingAllowItemDeletion). Deleteconfig/KaledelightsCompat/so the mod regenerates the English configs, then re-apply your settings.
Added
rules.txt— auto-generated next tounify.omniconfon every reload. It lists every built-in unification rule (source → target), whether each group is currently on or off, and the four ways to customise, so you can add your own unification or rescue a single item that would otherwise be removed.
This mod has no additional files

