
Cosmos Library
Main required library for the mods in The Cosmos Series.
Screenshots

About this Mod

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
How to Install Cosmos Library on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).
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
Minecraft Versions
1.21.1, 1.21, 1.20.1
Server-side
✓ RequiredRecommended 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.