Repository navigation
Releases
Releases · WinKing114/HollowRealm-Fixes
HollowRealm Fixes 2.1.0
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), andremoveSpecificCooldown(Player, Level, ItemStack)at@At("HEAD")whencooldownsSpecific.isEmpty()(orstack == null || stack.isEmpty()), eliminating per-frameFocusCooldown.keyOf(stack)CompoundTagstring serialization across hotbar and GUI item slots (~51 MB/s GC allocation + 3.6% Render Thread CPU savings). - Short-circuits
FocusCooldown.getCooldownPercent(Item)andisOnCooldown(Item)whencooldowns.isEmpty(). - Replaces eager
.getCapability(CAP).orElse(new SEImp())and.orElse(new LichImp())throwaway object allocations inSEHelper.getCapability(Player),MiscCapHelper.getCapability(LivingEntity), andLichdomHelper.getCapability(Player)with lazy.orElseGet(...)resolution, and collapses duplicategetFocusCoolDown(player)lookups inSEHelper.isOnCooldown/getCooldownPercent.
- Short-circuits
- FancyMenu 3D World-Rendering PoseStack Guard (
FancyMenuPoseStackGuard,FancyMenuGameRendererMixin,FancyMenuPoseStackMixin):- Tracks
GameRenderer.renderLevel(m_109089_) entry/exit depth andGameRenderer.render(m_109093_) frame boundaries on the render thread and guardsMixinPoseStack.isRenderSystemModelViewStack_FancyMenu()(priority = 1500) so FancyMenu's UI matrix tracking (TranslationState,RotationState, boxedFloat, and 3ThreadLocalstacks) 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).
- Tracks
- Retained 2.0.1 Fixes:
ChatLineHeightGuardMixin,KubeJsAttackCacheMixin,LodestoneTooltipMixin,ApotheosisJeiMixin,SocketingJeiLayoutMixin, andstructurify_overlap_gate.js.
Verification Summary
- 14 / 14 JUnit 5 tests pass via
./gradlew test buildandpython -X utf8 build.pyagainst 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
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-finiteDoublevalues (NaN,±Infinity), while keeping valid spacings untouched. - Apotheosis adventure guard (
ApotheosisJeiMixin): RespectsApotheosis.enableAdventurebefore registering the JEI socketing extension. - JEI socketing cache optimization (
SocketingJeiExtension): SkipsClientLevel == nullbefore reading registries or creating stacks, replaces 5 unsynchronized mutable fields with a thread-safevolatile SnapshotCache, and eliminates per-slotList.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-duplicatedAPPLY/SKIPlogging, and corrected manifest gate descriptions forl2_kubejs_listener_cacheandsocketing_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_compatinstalled; remove any olderhr-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, andSocketingJeiCacheBenchmarkTest). - Isolated Forge 47.4.29 dedicated-server co-installation pass alongside
HollowRealm Tweaks 0.2.1(verifiesPerformanceCompatload,KubeJsAttackCacheMixinAPPLY+MERGEDontoLHKJSPlugin, 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
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