Skip to content

Releases

HollowRealm Fixes 2.1.0

Pre-release

Choose a tag to compare

@WinKing114 WinKing114 released this 21 Nov 21:10

HollowRealm Fixes 2.1.0

What's New

  • Goety Focus Cooldown & Capability Allocation Guard (GoetyFocusCooldownPatch, GoetyFocusCooldownMixin, GoetySEHelperMixin, GoetyMiscCapHelperMixin, GoetyLichdomHelperMixin):
    • Short-circuits FocusCooldown.getSpecificCooldownPercent(ItemStack), isOnSpecificCooldown(ItemStack), and removeSpecificCooldown(Player, Level, ItemStack) at @At("HEAD") when cooldownsSpecific.isEmpty() (or stack == null || stack.isEmpty()), eliminating per-frame FocusCooldown.keyOf(stack) CompoundTag string serialization across hotbar and GUI item slots (~51 MB/s GC allocation + 3.6% Render Thread CPU savings).
    • Short-circuits FocusCooldown.getCooldownPercent(Item) and isOnCooldown(Item) when cooldowns.isEmpty().
    • Replaces eager .getCapability(CAP).orElse(new SEImp()) and .orElse(new LichImp()) throwaway object allocations in SEHelper.getCapability(Player), MiscCapHelper.getCapability(LivingEntity), and LichdomHelper.getCapability(Player) with lazy .orElseGet(...) resolution, and collapses duplicate getFocusCoolDown(player) lookups in SEHelper.isOnCooldown / getCooldownPercent.
  • FancyMenu 3D World-Rendering PoseStack Guard (FancyMenuPoseStackGuard, FancyMenuGameRendererMixin, FancyMenuPoseStackMixin):
    • Tracks GameRenderer.renderLevel (m_109089_) entry/exit depth and GameRenderer.render (m_109093_) frame boundaries on the render thread and guards MixinPoseStack.isRenderSystemModelViewStack_FancyMenu() (priority = 1500) so FancyMenu's UI matrix tracking (TranslationState, RotationState, boxed Float, and 3 ThreadLocal stacks) is skipped during 3D world rendering while operating normally during all 2D Screen/GUI/HUD rendering (~20 MB/s allocation + 3.0% Render Thread CPU savings).
  • Retained 2.0.1 Fixes:
    • ChatLineHeightGuardMixin, KubeJsAttackCacheMixin, LodestoneTooltipMixin, ApotheosisJeiMixin, SocketingJeiLayoutMixin, and structurify_overlap_gate.js.

Verification Summary

  • 14 / 14 JUnit 5 tests pass via ./gradlew test build and python -X utf8 build.py against real installed JAR bytecode from HollowRealm.
  • See VERIFICATION-2.1.0.md for SHA-256 digests and audited bytecode details.

HollowRealm Fixes 2.0.1

Pre-release

Choose a tag to compare

@WinKing114 WinKing114 released this 19 Nov 18:11

HollowRealm Fixes 2.0.1

What's New

  • Rebuilt from clean Java 17 source: Restored full Java 17 source (src/main/java), JUnit 5 test suite (src/test/java), and reproducible build verification (build.py).
  • Chat line-height guard fix (ChatLineHeightGuardMixin): Closed divide-by-zero edge cases for line spacings where (int)(9.0 * (spacing + 1.0)) < 1 (e.g. -0.95) and non-finite Double values (NaN, ±Infinity), while keeping valid spacings untouched.
  • Apotheosis adventure guard (ApotheosisJeiMixin): Respects Apotheosis.enableAdventure before registering the JEI socketing extension.
  • JEI socketing cache optimization (SocketingJeiExtension): Skips ClientLevel == null before reading registries or creating stacks, replaces 5 unsynchronized mutable fields with a thread-safe volatile SnapshotCache, and eliminates per-slot List.copyOf / stream copies (measured 20.64x faster cache-hit slot pass in JUnit benchmark).
  • Dead-code & metadata cleanup (HRFixesMixinPlugin, hr-fixes-manifest.json): Removed unused 1.x constants/branches/helpers left over from 1.2.0, de-duplicated APPLY/SKIP logging, and corrected manifest gate descriptions for l2_kubejs_listener_cache and socketing_jei_layout.

Compatibility

  • Minecraft 1.20.1 · Forge [47.4.16, 48) (tested on 47.4.29) · Java 17 (IGNORE_SERVER_VERSION).
  • Keep only one JAR with mod ID hollowrealm_performance_compat installed; remove any older hr-fixes-*.jar.
  • Companion data-layer compatibility mod: HollowRealm Tweaks 0.2.1 (verified co-installed).

Verification Summary

  • 8 / 8 JUnit 5 tests pass (including gate checks against real installed JAR bytecode from HollowRealm, ChatLineHeightGuardTest, and SocketingJeiCacheBenchmarkTest).
  • Isolated Forge 47.4.29 dedicated-server co-installation pass alongside HollowRealm Tweaks 0.2.1 (verifies PerformanceCompat load, KubeJsAttackCacheMixin APPLY + MERGED onto LHKJSPlugin, and clean server-side skipping of client-only Mixins).
  • Pending: Live 282-mod client GUI verification (ApotheosisJeiMixin, SocketingJeiLayoutMixin, LodestoneTooltipMixin, ChatLineHeightGuardMixin) and long-term multiplayer playtesting.

See VERIFICATION-2.0.1.md for SHA-256 digests and exact evidence layers.

HollowRealm Fixes 2.0.0

Pre-release

Choose a tag to compare

@WinKing114 WinKing114 released this 15 Nov 13:42

HollowRealm Fixes 2.0.0

Changes

  • Rename the mod display name from HR Fixes to HollowRealm Fixes; retain the internal mod ID and log names.
  • Remove inactive Goety Awaken, Goety Ominous and Eternal Starlight patches, the unaudited Quest Enhance 3.13/3.14 panel patch, and the unused WorldgenRandom helper.
  • Retain five mixins for the L2 Hostility/KubeJS listener cache, Apotheosis/JEI socketing (two), Lodestone/AttributesLib tooltips and vanilla chat line height.
  • Retain patch-specific compatibility gates and the CoO 5.5 / Structurify 2.0.43 overlap workaround.
  • Add the machine-readable patch ledger and packaging checks. No new Java logic is introduced by the cleanup or rename.

Compatibility

Minecraft 1.20.1 / Forge / Java 17. Loading checked on Forge 47.4.29; metadata permits [47.4.16,48). Replace the old HR Fixes JAR; never install both because they share mod ID hollowrealm_performance_compat.

This mod is designed for HollowRealm. Recipes, loot, quests, shops and balance edits are outside this update.

Verification

File/metadata checks and isolated client loading passed; five APPLY and five MERGED records were observed. All 12 class files match the pre-rename 2.0.0 JAR. Per-feature gameplay, full playthroughs, dedicated servers and multiplayer remain untested for this build.

SHA-256: 9dba779045e217ae8d0a800b4abbe0389b542ccd6e058c68d534f6744314bc0a