Sleepium 1.4.16 for 1.20.1 (Forge)
Curse Maven Snippet
What's new
- Fixed:
StoredRingwrote empty chunk NBT (0a 00 00 00) on disk whenChunkIoWorkerMixinyielded to another IO mod (FastChunkGen) (#18). When another mod changedIOWorker#loadAsync(such as FastChunkGen'sMixinStorageIoWorker),ChunkIoWorkerMixingave way to it, whileStoredRingMixinstill applied and passedChunkIo.Encodedcarriers to vanilla/moddedIOWorker.store(), which serialized them as empty root compounds (missing level data/No key Level).StoredRingMixinnow checks forChunkIoWriter.Worker, soMixinYield.needsYielded()automatically yields it wheneverChunkIoWorkerMixinyields (directly or transitively), backed by a runtime guard. As a fail-safe,ChunkIo.Encodedalso overrideswrite(),copy(), andaccept()to decode its region record if anything outsideChunkIoWorkerMixinever serializes, copies, or scans it as a plainCompoundTag(zero overhead on the normalChunkIoWorkerMixinpath). Both versions. - Fixed: companion mixins staying active when their paired mixin yielded (from #18 logs).
ChunkIoRegionMixinnow yields wheneverChunkIoWorkerMixinis unavailable, andBlockMeshMemoMixinnow yields wheneverBlockMeshDirtyMixinyields (e.g. alongside Embeddium/Sodium overwritingLevelRenderer#setSectionDirty), preventing stale block-mesh entries and uncollected off-heap cache buffers. Both versions. - Verified with a foreign
IOWorker#loadAsynctest probe on both 1.20.1 Forge (SRG) and 1.21.1 NeoForge: before the fix, all 1,818StoredRing-released records landed on disk as empty0a 00 00 00compounds; after the fix,StoredRingMixinandChunkIoRegionMixinyield cleanly with 0 empty records on disk (2,832 / 2,147 valid chunks), while normalChunkIo+StoredRingpasses full verification (0 differ, 0 missing). - Workaround for 1.4.15 and older in
config/sleepium.properties:lab.opt.StoredRingMixin=false.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

