ModsFinder

Somnium

by BananaFructa

Somnium is a Forge magic mod in which a goat horn starts rituals whose effects are generated at runtime by a chain of local language models.

ForgeClient and serverGNU General Public License v3.0 or laterOpen source1.20.1 – 1.20.6

What it does

Players use a goat horn to begin a ritual by performing actions in the world, and the mod's event handler watches for those activities. Once a ritual is triggered, a chain of four language models, run in sequence with constrained inputs and outputs, produces the outcome and then code that the server executes. Because the results are generated rather than fixed, the exact effect of a ritual is not known in advance, and the author notes that burning items is one example of what can happen.

The language models run through Ollama, which must be installed with the models pulled before the mod can work. The models need about 16.11 GB of storage in total, and generation is slow, so a graphics card with a modest amount of video memory is recommended, or a machine with plenty of system memory as an alternative. Players can check the Ollama server by sending a chat message after joining a world. The mod is open source under the GNU General Public License v3.0 or later, and it works in singleplayer only, since multiplayer is not officially supported yet.

Somnium is published for Forge only, with files for 1.20.1 – 1.20.6 and the latest file, 0.0.2, built for 1.20.6. It is listed in the Magic category, with Equipment and Game mechanics as secondary categories. A server running it needs every connecting player to have it too. Source code and an issue tracker are linked from the project.

Key features

  1. Goat horn rituals

    A goat horn initiates a ritual when it is used at the right place, and the ritual takes effect from the actions performed there.

  2. Generated mechanics

    Ritual effects are produced at runtime by the language model chain rather than defined ahead of time in the mod.

  3. Four-model chain

    Four language models are classified by role, with a descriptor, a filter and a context generation model feeding the outcome.

  4. Runtime code execution

    After the code generator finishes, the generated code is run on the server to apply the ritual's result.

Compatibility

Latest build for each game version and loader.

1.20.60.0.2
1.20.50.0.2
1.20.40.0.2
1.20.30.0.2
1.20.20.0.2
1.20.10.0.2
ReleaseBetaAlphaNot available

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

Questions

Does Somnium need a strong graphics card?

A graphics card with a modest amount of video memory is advised because the language models are slow to process. A machine with plenty of system memory is listed as an alternative.

Does Somnium work on multiplayer servers?

Only singleplayer is officially supported at the moment, so multiplayer use is not part of the current release.

How is the language model setup checked?

After Ollama is installed and the models are pulled, the Ollama server should show as online with a message sent in chat after joining a world.

In the catalog

Somnium is one of 7,216 Magic mods on ModsFinder, and one of 3,927 Magic mods for Forge. 11,154 mods support Minecraft 1.20.6.

Similar mods

What the author says

Somnium is a magic focused Minecraft mod in which game mechanics and code logic is generated dynamically at runtime. This is performed by using a chain of agents framework (a series of sequential LLMs) where its input and output is constrained by a preexisting application interface. Disclaimer: Even if items have a…
BananaFructa, on the Modrinth page

Official listing

Owner
BananaFructa
Published
2025-11-22
Updated on Modrinth
2025-11-22
Facts verified
2026-10-15

Tags