promotional bannermobile promotional banner

Sleepium

A performance engine for servers and clients that keeps the game exact: idle ticks put to sleep, a compiled event bus, parallel worldgen, a fast renderer with its own shaderpack support (beta).
Back to Files

Sleepium 1.4.16 for 1.20.1 (Forge)

File namesleepium-1.4.16-mc1.20.1-forge.jar
Uploader
ha7gawaha7gawa
Uploaded
Nov 28, 2026
Downloads
24
Size
4.2 MB
Mod Loaders
Forge
File ID
9864213
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:sleepium-1780057:9864213")

Learn more about Curse Maven

What's new

  • Fixed: StoredRing wrote empty chunk NBT (0a 00 00 00) on disk when ChunkIoWorkerMixin yielded to another IO mod (FastChunkGen) (#18). When another mod changed IOWorker#loadAsync (such as FastChunkGen's MixinStorageIoWorker), ChunkIoWorkerMixin gave way to it, while StoredRingMixin still applied and passed ChunkIo.Encoded carriers to vanilla/modded IOWorker.store(), which serialized them as empty root compounds (missing level data / No key Level). StoredRingMixin now checks for ChunkIoWriter.Worker, so MixinYield.needsYielded() automatically yields it whenever ChunkIoWorkerMixin yields (directly or transitively), backed by a runtime guard. As a fail-safe, ChunkIo.Encoded also overrides write(), copy(), and accept() to decode its region record if anything outside ChunkIoWorkerMixin ever serializes, copies, or scans it as a plain CompoundTag (zero overhead on the normal ChunkIoWorkerMixin path). Both versions.
  • Fixed: companion mixins staying active when their paired mixin yielded (from #18 logs). ChunkIoRegionMixin now yields whenever ChunkIoWorkerMixin is unavailable, and BlockMeshMemoMixin now yields whenever BlockMeshDirtyMixin yields (e.g. alongside Embeddium/Sodium overwriting LevelRenderer#setSectionDirty), preventing stale block-mesh entries and uncollected off-heap cache buffers. Both versions.
  • Verified with a foreign IOWorker#loadAsync test probe on both 1.20.1 Forge (SRG) and 1.21.1 NeoForge: before the fix, all 1,818 StoredRing-released records landed on disk as empty 0a 00 00 00 compounds; after the fix, StoredRingMixin and ChunkIoRegionMixin yield cleanly with 0 empty records on disk (2,832 / 2,147 valid chunks), while normal ChunkIo + StoredRing passes full verification (0 differ, 0 missing).
  • Workaround for 1.4.15 and older in config/sleepium.properties: lab.opt.StoredRingMixin=false.

This mod has no additional files