Cosmos Library

Cosmos Library

Main required library for the mods in The Cosmos Series.

by
34.4K Downloads
forgeneoforgelibraryoptimizationutility
Rent Server with this Mod

Screenshots

Background

About this Mod

Main Logo

Cosmos Library

Notices

Cosmos Library is now available for Minecraft 1.21.1 and NeoForge.

Description

Cosmos Library is a collection of helper functions to enable a quicker and more seamless creation of Minecraft Mods. It adds nothing to the game itself, it is simply a base upon which other mods are created. This also allows the reduction of common code distributed within other mods, as that common code is stored in this mod once.

This library is required for all mods in The Cosmos Series.

Developers

A note for any Developers looking to use Cosmos Library for their own projects:

Cosmos Library is made and used exclusively by TheCosmicNebula for The Cosmos Series. There is no official documentation, and there likely will never be. TheCosmicNebula will ruthlessly change or remove functions and classes with reckless abandon.

It is not recommended to use this library due to the high frequency of updates which will break compatibility. The source code is not kept up to date and updates are not broadcast outside of the changelog.

If you are still in need of a library to use, I would suggest looking for one with thorough documentation, and a discord server which announces changes. Or make your own.

The Cosmos Series

This mod is part of The Cosmos Series.

Available Versions

Cosmos Library 11.11.9.0release
MC 1.21.1neoforge
March 17, 2026
Cosmos Library 11.11.8.0release
MC 1.21.1neoforge
February 7, 2026
Cosmos Library 11.11.15.0release
MC 1.21.1neoforge
August 6, 2025
Cosmos Library 11.11.4.0release
MC 1.21.1neoforge
April 12, 2025
Cosmos Library 11.11.0.0release
MC 1.21.1neoforge
April 11, 2025

How to Install Cosmos Library on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Cosmos Library". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forgeneoforge

Minecraft Versions

1.21.1, 1.21, 1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Cosmos Library server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Cosmos Library compatible with forge and neoforge?

Cosmos Library officially supports forge, neoforge for Minecraft 1.21.1, 1.21, 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Cosmos Library – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Cosmos Library consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Cosmos Library with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.21.11.211.20.1