promotional bannermobile promotional banner

Somnium API

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

File Details

somnium-1.0.0.jar

  • R
  • May 12, 2026
  • 314.91 KB
  • 6
  • 1.20.1
  • Forge

File Name

somnium-1.0.0.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:somnium-api-1540032:8076390")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Initial Release

Current Functionality:

Powers/Abilities | 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 | Flexible value system for addon developers to create their own resources. Has independent drain, regen, and scaling.

Transformations | Dedicated ability type for shapeshifting, with phase transitions, visual data hooks, and automatic inventory management.

Tagging System | Lightweight labeling system for gating abilities behind conditions. Tags can be granted by items, events, curios, or any custom logic.

Happy Modding! ~Eclipce77