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.2.6 for 1.20.1 (Forge)

File namesleepium-1.2.6-mc1.20.1-forge.jar
Uploader
ha7gawaha7gawa
Uploaded
Nov 15, 2026
Downloads
32
Size
3.5 MB
Mod Loaders
Forge
File ID
9634040
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

What's new

Three fixes.

  • Fix: CustomNPCs could not register its script events. CustomNPCs finds a private method of Forge's and NeoForge's event bus by reflection to register its events. Sleepium's faster event bus did not have that method, so registration failed (NoSuchMethodException: dev.lull.optsupport.CompositeEventBus.register in the log) and none of those events reached CustomNPCs. Scripted NPCs did not react to clicks. Sleepium's event bus now has the same registration methods as the loader's. This also fixes other mods that register events the same way. Checked with CustomNPCs-Unofficial on 1.20.1 Forge and 1.21.1 NeoForge.
  • Fix (1.20.1): event counting switched itself off on Forge 47.4.28 and newer, with an error in the log (reported with Blood Magic). Forge's newer event bus guards its listener cache with a different kind of lock; Sleepium now handles both kinds.
  • Fix: a rare crash while drawing animated mobs (ArrayIndexOutOfBoundsException in ModelPart.compile). When the render thread built a model part's geometry, it could share the part's reusable list with a worker thread drawing the same mob type at that moment. The render thread now uses its own list.

This mod has no related projects