
LanternLib
A library mod for RedCraft86's mods
About this Mod
LanternLib is a library mod which contains a lot of the shared code in my mods.
Features
While mostly a code library, this mod includes some very minor features and fixes too.
A full list of features can be seen on the GitHub Wiki!
Modpack Usage
You may include this mod into your own modpacks as long as it is distributed through CurseForge, Modrinth, or any other recognized mainstream modding platforms that may exist in the future.
Dependence
Mod developers are free to depend on this mod without being required to open-source their own projects. The LGPL3 license applies only to this mod and any modifications of it.
Forks & Modifications
You may fork and modify this project. However, if you distribute a modified version, you must also provide access to the source code of your changes as required by the LGPL3 license.
Available Versions
How to Install LanternLib 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 "LanternLib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
LanternLib 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 LanternLib compatible with forge and neoforge?
LanternLib officially supports forge, neoforge for Minecraft 1.21.1, 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with LanternLib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if LanternLib 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.
Similar Mods
Rent Modded Server
Install LanternLib with just one click on your server.