ModsFinder

Somnium API

by Eclipce77

Somnium API is a Forge library for building custom abilities, stamina systems and per-player progression in Minecraft 1.20.1.

ForgeClient and serverGNU General Public License v3.0 onlyOpen source1.20.1

What it does

Powers can be grouped, given configurable conditions for becoming available, and placed in a drag-and-drop ability inventory. A six-slot HUD bar shows the active abilities, with paging and customizable categories.

Abilities draw on a shared stamina resource that drains as powers are used and recovers over time. Overspending triggers the Overuse system, which applies a three-stage penalty to discourage constant ability spam. Composition is a permanent growth stat for each player: it rises through ability use, stamina recovery and surviving overuse, and it expands stamina capacity up to a hard cap.

Addon developers can add Custom Meters for resources such as mana, rage or focus, each with its own drain, regeneration and scaling. Optional per-power XP leveling, tags that gate abilities behind conditions, and optional compatibility with GeckoLib 4, Curios API and Pehkui are included. Somnium API is open source under the GNU General Public License v3.0 only and is published for Forge 1.20.1.

Key features

  1. Five activation types

    Powers can be instant, toggled, held, charged or passive, and passive powers can be grouped.

  2. Stamina and Overuse

    A shared stamina pool drains with use and recovers over time, and overuse applies a three-stage penalty.

  3. Composition growth

    A permanent stat grows with play and raises stamina capacity, with diminishing returns to keep it capped.

  4. Custom meters and transformations

    Addon developers can define new resources with their own drain and regeneration, and create shapeshifting abilities with phase transitions.

Compatibility

Latest build for each game version and loader.

1.20.11.0.4
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Who it’s for: Modpack makers and developers who want a shared framework for abilities, stamina and progression on Forge 1.20.1. Players of such packs will need the library installed on the client and the server.

How it compares

Full comparison

Staminus is a client and server Forge mod for 1.20.1 under the MIT License, and it covers stamina alone. Player: Level UP skills is a Forge mod for 1.20.1 – 1.20.6 under the MIT License, focused on skill leveling. Somnium API is limited to Forge 1.20.1 and is open source under the GNU General Public License v3.0 only.

ModLoadersGame versionsEnvironmentUpdated
Somnium APIForge1.20.1Client and server2026-06-02
StaminusForge1.20.1Client and server2026-08-20
Player: Level UP skillsForge1.20.1 – 1.20.6Client and server2026-03-22

Questions

Does Somnium API need to be installed on the server?

Yes. Installation covers the server and each player's game.

Which Minecraft versions does Somnium API support?

Only 1.20.1 is listed, with the latest Forge file 1.0.4 for 1.20.1, published 2026-06-02.

Which optional mods does Somnium API work with?

Optional compatibility is listed for GeckoLib 4, Curios API and Pehkui.

In the catalog

Somnium API is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 34,764 mods support Minecraft 1.20.1.

More from Eclipce77

All projects

Similar mods

What the author says

A highly customizable Power and Ability API, for those who can dream it possible. Powers & Abilities — A complete ability system with five activation types (Instant, Toggle, Hold, Charged, Passive), groupable into Powers with configurable unlock conditions. Includes a drag-and-drop ability inventory, a 6-slot HUD bar…
Eclipce77, on the Modrinth page

Official listing

Owner
Eclipce77
Published
2026-05-09
Updated on Modrinth
2026-06-02
Facts verified
2026-10-15

Tags