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.12.1 for 1.12.2 (Forge, alpha)

File namesleepium-1.4.12.1-mc1.12.2-forge.jar
Uploader
ha7gawaha7gawa
Uploaded
Nov 26, 2026
Downloads
30
Size
136.4 KB
Mod Loaders
Forge
File ID
9823781
Type
A
Alpha
Supported game versions
  • 1.12.2

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

What's new

1.4.12.1 (alpha): works with OptiFine (HD U G5). On the same scene: OptiFine alone 94 fps, with Sleepium 1100 fps (with Fast Render 1180), the picture as OptiFine's own. With an OptiFine shader pack on, the entity cache steps aside: shader packs draw entities with their own programs and a shadow pass, so OptiFine draws them as usual.


First build for Minecraft 1.12.2 / Forge, an alpha. It is not a port of the newer versions: 1.12.2's code is different, so the engine's ideas were rebuilt on it. It carries two parts: entity rendering and world generation. Everything else in Sleepium (entity sleep, server tick work, networking, chunk rendering, particles, the settings screen and HUD) is not in the 1.12.2 build.

Needs MixinBooter. Forge 1.12.2 (14.23.5).

Measured on one machine (Ryzen 7 5800X, RTX 4070 SUPER), the release jar:

  • A scene with about 450 entities and block entities (armor stands in armour, item frames, signs, chests, skulls), 1280x720: 77 → 795-874 fps. Each one's drawing is recorded once and drawn from video memory, all of them with the same GL state in one draw. A change (a new pose, armour, an item in a frame, sign text) is noticed and recorded again; things that move or animate are drawn the vanilla way.
  • World generation on a dedicated server (Forge 14.23.5.2860, MixinBooter 12.5, Java 8), 1681 chunks: 110 → 211 chunks/s. Saving a chunk no longer walks through every scheduled block tick in the world.

Item and block models in item frames and on armor stands are drawn from cached buffers, the same picture as vanilla. The entity cache's picture can differ from vanilla by float rounding (a pixel's brightness by one level, an edge pixel here and there), as on the newer versions.

Switches (JVM arguments): -Dsleep.opt.entityCache=false turns the entity cache off, -Dsleep.opt.TickIndex=false the generation change.

Tested on a client (Forge 14.23.5, MixinBooter 11.18; alone and with OptiFine HD U G5) and a dedicated server (Forge 14.23.5.2860, MixinBooter 12.5). Not yet tested next to other 1.12.2 mods: entities drawn by other mods' renderers are left to them. If something breaks, please open an issue on GitHub with the log.