
Needed by other mods to add their own sleep rules.
4 of 4 current files checked, code read in all 4. Last check 16 Oct 2026. Across its releases since 2021, Modgrade checked all 6 of its files and found no malware in any of them. Below, the checks of one current file: somnus-fabric-0.0.14-1.17.1.jar
The resultPassed
The checks look for known signs of harm and cannot prove that a file is harmless. How Modgrade checks
Somnus API is a Fabric library for mod developers who want to implement sleep mechanics through compatible hooks and events. It lets mods determine the time of day when players wake, set valid sleeping times, prevent or intercept sleep attempts, respond to players waking, and adjust sleeping players’ vertical offsets.
Written from CurseForge, Modrinth and the GitHub README.
Somnus API does not connect to the internet, and its code mainly touches the player, rendering and graphics, and blocks and fluids. It includes parts of Fabric API.
Written from Modgrade's checks of its files.
Modgrade looked for code that connects to the internet, uses folders outside the game, starts other programs, updates itself, turns on your webcam or microphone, or contacts an AI service, and found none.
No sign it sends data in its 4 current filesThe newest release or beta for each Minecraft version and loader, from its official source..
Modgrade finds the web addresses its code can contact, but cannot see everything a mod does while it runs.
It has no file for a recent Minecraft version, so this shows its files for Minecraft 1.16.4 to 1.17.1.
As a library that other mods build on, it changes the game's code in 4 areas.
4 more game code files changed by parts of
Fabric API.