N3rdy-lib
A library for code and objects to reuse for future projects.
About this Mod
N3rdy-Lib is a library mod that contains stuff while i make minecraft mods. It currently contains the following:
A class for NbtObjects, NbtObjects are objects that can be directly put on nbt compounds due to them implementing the NbtElement interface. All data handling is already done except client to server synchronisation, which can be done by updating the nbtcompound.
An interface for left click items. Items that exectute a function when you use the left click button when holding it. Also has a method for holding the left click button. Both methods provide a client and server method and will need a shared method if not specifically stated otherwise for now.
An interface for Items that lets them grant attribute modifiers while inside of the general inventory. Think of charms and amulets without the hassle for the custom equipment slots, the attribute modifiers update once every 5 ticks for performance sake.
If you want to make use of this mod for personal development i highly recommend checking out the github for the code or asking me on the discord!
Available Versions
How to Install N3rdy-lib 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.20.3).
Install Mod
Open the mod browser in the dashboard and search for "N3rdy-lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.3, 1.20.2, 1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
N3rdy-lib 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.20.3). You can switch loaders with one click in the panel.
Is N3rdy-lib compatible with fabric?
N3rdy-lib officially supports fabric for Minecraft 1.20.3, 1.20.2, 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with N3rdy-lib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if N3rdy-lib 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 N3rdy-lib with just one click on your server.