Skip to content
ExploreSearchCheck a file

Modgrade

  • How it works
  • Malware
  • API
  • What's new
  • About

Scanner

  • Minecraft
  • Bedrock
  • Hytale
  • GTA 6
  • Discord files

Get help

  • Malware removal
  • Contact
  • Discord⁠

Take part

  • Install the Discord bot⁠
  • Suggest an improvement
  • Join the team

© 2026 Modgrade · Privacy · TermsThe checks look for known signs of harm and cannot prove that a file is harmless.Not an official Minecraft, Hytale, Grand Theft Auto or Discord product. Not approved by or associated with Mojang, Microsoft, Hypixel Studios, Rockstar Games, Take-Two Interactive or Discord Inc. Grand Theft Auto and GTA are trademarks of Take-Two Interactive.

Somnus API

Needed by other mods to add their own sleep rules.

Passed See how Modgrade checked it.
DownloadCheck a file you have
Report a mistake
Type
Minecraft mod
Game versions
5 versions 1.16.4 to 1.17.1
Loader
Fabric
Downloads
507K
Updated
5 years ago
Author
TheIllusiveC4
Official source
CurseForge⁠ and Modrinth⁠
  • Overview
  • Files

No harmful code found in its 4 current files

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⁠

1Known files4 checks
  • No finding: FingerprintThe exact file published on CurseForge and Modrinth
  • No finding: Known malware listsNot on any list
  • No finding: Other files of the projectNo malware in the other current files
  • No finding: Platform statusListed on CurseForge and Modrinth
2Quick check1 check
  • No finding: File analysisNothing harmful found
3Code reading3 checks
  • No finding: Code readingNothing harmful found
  • Sends dataNone found
  • What its code can doSee the list below

The resultPassed

The checks look for known signs of harm and cannot prove that a file is harmless. How Modgrade checks

About

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⁠.

What its code does

Summary

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.

On your computer

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.

Sends data

None found

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.

In-game changes

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.

PlayerChanges 2 game code files in this area, which covers your character: movement, abilities, hunger and controls.
The player and the player on the server
Rendering and graphicsChanges 1 game code file in this area, which covers drawing mobs, items, particles and textures on screen.
How players are drawn
Blocks and fluidsChanges 1 game code file in this area, which covers how blocks, fluids and redstone work.
Beds
Server and world logicChanges 1 game code file in this area, which covers the world, commands, scoreboards, saved data and game rules.
The world on the server
Libraries inside it

4 more game code files changed by parts of Fabric API.

New content
Adds no new blocks, items or other content.
Vanilla filesFiles with the same name and folder as one of Minecraft's own, which they replace. Tags and language files are merged instead.
Keeps all of vanilla Minecraft's textures, models and sounds.

Details

Created
5 years ago (5 Jan 2021)
Modpacks
In 142 modpacks
License
GNU Lesser General Public License v3.0 or later
Source code
Public on GitHub⁠
AI
None found
Issue tracker
On GitHub⁠
Pages
On Discord⁠