Language

Somnus API (Discontinued)

Somnus API (Discontinued)

CurseForge

A lightweight library for integrated sleep mechanics on Fabric.

503.9k downloads TheIllusiveC4
latest vsomnus-fabric-0.0.14-1.17.1.jar CurseForge
Fabric API and Library

This project is discontinued as of Fabric API 0.39.0+ for 1.16.5 and 1.17.1. Please use the EntitySleepEvents introduced in that Fabric API version instead.

Somnus is a lightweight library that adds a few events for sleeping in Minecraft to allow mod developers easy and compatible ways of implementing their sleep mechanics on Fabric.

BisectHosting

Features

  • Determining the time of day for the world when players wake up
  • Preventing or hooking into sleep attempts
  • Determining valid times of day for sleeping
  • Hooking into when players wake up
  • Changing vertical offsets for sleeping players

Adding to Your Project:

Please refer to the GitHub README file.

Support

Please report all bugs, issues, and feature requests to the issue tracker.

For non-technical support and questions, join the developer's Discord.

License

All source code and assets are licensed under LGPL 3.0.

Donations

Donations to the developer can be sent through Ko-fi.

Versions

Beta
somnus-fabric-0.0.14-1.17.1.jar
fabric · 1.17.1 · 60mo ago
262.6k
Beta
somnus-fabric-0.0.12-1.16.5.jar
fabric · 1.16.5 · 60mo ago
33.5k
Beta
somnus-fabric-0.0.13-1.17.1.jar
fabric · 1.17.1 · 60mo ago
386
Beta
somnus-fabric-0.0.12-1.17.jar
fabric · 1.17.1, 1.17, 1.17-Snapshot · 62mo ago
28.3k
Beta
somnus-fabric-0.0.11-1.16.5.jar
fabric · 1.16.5 · 66mo ago
162.9k
Beta
somnus-fabric-0.0.10-1.16.4.jar
fabric · 1.16.5, 1.16.4 · 67mo ago
752

Comments 0

No comments yet. Be the first to share your thoughts.

FAQ

How do I install Somnus API (Discontinued)?

Download the file for your Minecraft version and loader from this page, then drop the .jar into your mods (or plugins) folder and launch the game.

Is Somnus API (Discontinued) free?

Somnus API (Discontinued) is free to download on Modgrid — we link straight to the official source, no paywall or bundled installer.

Which Minecraft versions does Somnus API (Discontinued) support?

Works with Fabric. See the download section on this page for the full list of supported versions and loaders.