Mineuniverse
Log in Register
Mods

Somnium API

A highly customizable Power and Ability API, for those who can dream it possible.
by Eclipce77
Download Claim this project
57 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library Utility & QoL

A highly customizable Power and Ability API, for those who can dream it possible.

What Somnium Provides

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 with paging, and customizable categories.

Stamina & Overuse — A universal stamina resource that drains when abilities are used and regenerates over time. Pushing too far triggers the Overuse system — a three-stage penalty that discourages ability spam while creating meaningful risk-reward decisions.

Composition — A permanent growth stat unique to each player. Composition increases through gameplay (ability usage, stamina recovery, overuse survival) and directly expands the player's stamina capacity. Diminishing returns ensure no hard cap while maintaining balance.

Power Leveling — Optional per-power XP and leveling. Abilities can require minimum power levels to unlock, and XP is earned through ability usage within that power.

Custom Meters — A flexible value system for addon developers to create their own resources (mana, rage, focus, etc.) with independent drain, regen, and scaling.

Transformations — A dedicated ability type for shapeshifting, with phase transitions, visual data hooks, and automatic inventory management.

Tag System — A lightweight labeling system for gating abilities behind conditions. Tags can be granted by items, events, curios, or any custom logic.

Optional Compatibility — First-class integration with [GeckoLib 4](https://modrinth.com/mod/geckolib), [Curios API](https://modrinth.com/mod/curios), and [Pehkui](https://modrinth.com/mod/pehkui). All optional — Somnium works without any of them.

Somnium API 1.0.4
MC Client, 1.20.1, Forge, Server
Release 2026-06-02 Get

More from Eclipce77

Transponder Snails
38,096

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314