
TxniLib
Multiversion library mod for Txni projects
Screenshots

About this Mod

This is a library mod! If you're not a developer, don't worry about it. This is probably in your modpack as a dependency for another mod.
If you are a developer, hello! This library is specifically designed to work alongside my multiversion template mod which I use to release mods simultaneously on 1.20 & 1.21 on Forge & Fabric, from one codebase. Besides random stuff I find useful, this mod mostly contains platform and version specific implementations to cut down on the amount of repeated if/else when maintaining projects across versions. You're welcome to use it, but documentation is provided on a when-I-have-extra-time basis.
Available Versions
How to Install TxniLib on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.5).
Install Mod
Open the mod browser in the dashboard and search for "TxniLib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.5, 1.21.4, 1.21.1 (+2 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
TxniLib server crashes on startup – what to do?
Most common cause: wrong fabric 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.5). You can switch loaders with one click in the panel.
Is TxniLib compatible with fabric and forge and neoforge?
TxniLib officially supports fabric, forge, neoforge for Minecraft 1.21.5, 1.21.4, 1.21.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with TxniLib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if TxniLib 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 TxniLib with just one click on your server.