Skip to content

Releases

HollowRealm Tweaks 0.3.0

Pre-release

Choose a tag to compare

@WinKing114 WinKing114 released this 21 Nov 21:10

HollowRealm Tweaks 0.3.0

Update to HollowRealm Tweaks (hollowrealm_tweaks), expanding the SHA-256-audited in-memory SERVER_DATA compatibility pack (hollowrealm_tweaks:compat) from 6 to 9 audited overrides by repairing 3 broken compat files in fallen_gems_affixes-1.20.1-2.1.5.jar that threw ERROR stack traces on every world load.

What's New in 0.3.0

  • CompatGemPatch (fallen_gems_affixes 2.1.5 compat repairs):
    1. compat_gem_spell_lightning (data/fallen_gems_affixes/gems/compat/spell_lightning.json, upstream SHA-256 2ef303f9a95d8c5d7bd4165fe25f7de115f5c2cfeab83df7ddc9e7181d092c10): appends {"type": "forge:mod_loaded", "modid": "additional_attributes"} to "conditions" when additional_attributes is not loaded so GemRegistry (Placebo DynamicRegistry) skips it cleanly before decoding.
    2. compat_gem_hemolith_shard (data/fallen_gems_affixes/gems/compat/hemolith_shard.json, upstream SHA-256 7e310acd45eaa6154a89ded4f69e1b4630ca4c14d928ec8309cc41d0cb1dbdf3): when additional_attributes is not loaded, strips the unguarded 3rd bonus ("attribute": "additional_attributes:innate_spell/irons_spellbooks/devour") while preserving the 2 valid irons_spellbooks bonuses (irons_spellbooks:blood_spell_power and irons_spellbooks:blood_magic_resist), allowing fallen_gems_affixes:compat/hemolith_shard to register cleanly and enabling its hemolith_shard_light (traveloptics:vigor_siphon) and hemolith_shard_ranged (cataclysm_spellbooks:hemophilia) extra gem bonuses.
    3. compat_extra_gem_bonus_hemolith_leggings (data/fallen_gems_affixes/extra_gem_bonuses/compat/hemolith_shard_leggings.json, upstream SHA-256 d17e0220769a120d7fddd4ce4ae14b14651adc9d7000b0db1ba3743b7c53dbb7): overrides "conditions" with [{"type": "forge:false"}] so fallen_lib's ExtraGemBonusRegistry (Serialization.checkConditions) skips the removed traveloptics:assassin mob effect (traveloptics-7.2.0-1.20.1.jar) without throwing Unknown registry key: traveloptics:assassin.
  • Early mod-state fallback: Added LoadingModList fallback to HollowRealmTweaks.ForgeModState if ModList.get() is not yet populated.
  • Expanded test & runtime verification: Added CompatGemPatchTest (5 JUnit tests) and expanded HollowRealmTweaksCacheBenchmarkTest (18 / 18 JUnit tests total), plus 22-JAR isolated dedicated-server verification including irons_spellbooks-1.20.1-3.16.4.jar and traveloptics-7.2.0-1.20.1.jar.

See VERIFICATION-0.3.0.md for SHA-256 digests and exact test evidence.

HollowRealm Tweaks 0.2.1

Pre-release

Choose a tag to compare

@WinKing114 WinKing114 released this 19 Nov 18:11

HollowRealm Tweaks 0.2.1

First public release candidate of HollowRealm Tweaks (hollowrealm_tweaks), maintaining all data-layer fixes from 0.1.0 and 0.2.0 while hardening multiplayer compatibility, resource enumeration, and startup reload caching.

What's New in 0.2.1

  • Multiplayer metadata (mods.toml): Added displayTest="IGNORE_ALL_VERSION" (preventing false MATCH_VERSION rejections for server-data-only installs) and widened Forge version range to [47.4.16, 48).
  • Cached override resolution (HollowRealmTweaks.OverrideResolver): Resolves and hashes target mod JSONs once per JVM process instead of re-reading and re-parsing on every AddPackFindersEvent(SERVER_DATA) call (measured 1265.05x faster in JUnit micro-benchmark: 417.214 ms → 0.330 ms over 10,000 resolutions).
  • No-exception missing-resource checks: readModResource now verifies Files.isRegularFile(resource) before Files.readAllBytes, eliminating NoSuchFileException stack-trace warnings when an optional resource is absent.
  • Resource listing & condition-merge fixes:
    • CompatPackResources.listResources now normalizes trailing slashes on prefix and handles exact resource paths cleanly.
    • GunAffixPatch.addScgunsCondition preserves any pre-existing "conditions" array instead of overwriting it.
  • Manifest ledger: Added hollowrealm-tweaks-manifest.json documenting all 3 audited patches and resource fingerprints.

Included Data Compatibility Patches (from 0.1.0 – 0.2.1)

  1. clam_conditions: Repairs 3 neoforge:loot_table_id → forge:loot_table_id condition IDs in crittersandcompanions:loot_modifiers/inject_clams.json (preserving 10% chance and pools).
  2. bottle_recipe: Restores legendary_monsters:bottle_of_annihilation (8 bottles) when shadowed with minecraft:air by legendary_delicacies.
  3. gun_conditions: Adds forge:mod_loaded("scguns") conditions to 4 optional gun attribute affixes in fallen_gems_affixes when scguns is absent and placebo 8.6.3 is loaded.

Verification Summary

  • 12 / 12 JUnit 5 tests pass (including HollowRealmTweaksCacheBenchmarkTest micro-benchmark, CompatPackResourcesTest, GunAffixPatchTest, ClamConditionPatchTest, BottleRecipePatchTest).
  • Isolated Forge 47.4.29 dedicated-server verification (standalone 11-JAR target set + co-installed with HollowRealm Fixes 2.0.1) across baseline, active, absent, and coinstall scenarios, both initial load and /reload.
  • Pending: Live 282-mod client GUI / JEI playthrough and multiplayer verification.

See VERIFICATION-0.2.1.md for SHA-256 digests and exact test evidence.