
Material Lib
A material library making it that much easier to add vanilla-style materials to Minecraft.
About this Mod
This is just a library mod and won't add anything on its own. It is used in TheElementGuy's More Metals and Ores, my other mod.
Each version starts with the minor and then the patch version of its corresponding Minecraft version. The parent mod should inform you of which version to use.
What features does it add?
This mod will not add anything on its own. However, for mod development, it adds a unified material system, allowing for less repetitive code. Additionally, it automates datagen, item registration, and block registration. Finally, it has a variety of utility methods such as loot modifiers and creative inventory filling.
What is its purpose?
I got bored of writing the same code over and over again in the making of my other mod. This library allows developers to utilize methods to do less repetition. It also allows for quicker updating.
Why download it?
This is a library mod required by other mods. Without it, they will not function.
For developers:
If you want to use this to make a mod, you're in luck! It should be easy to use. There are Javadoc comments throughout the code. See the GitHub repository for more.
Supported versions:
1.21.10- 1.21.11
- 1.21.4
strikethrough - no longer updated/supported
italics - in development
Available Versions
How to Install Material 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 (26.2).
Install Mod
Open the mod browser in the dashboard and search for "Material Lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.2, 26.1.2, 26.1.1 (+3 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Material 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 (26.2). You can switch loaders with one click in the panel.
Is Material Lib compatible with fabric and neoforge?
Material Lib officially supports fabric, neoforge for Minecraft 26.2, 26.1.2, 26.1.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Material Lib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Material 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 Material Lib with just one click on your server.
Details
- License
- Creative Commons Attribution Non Commercial Share Alike 4.0 International
- Server-side
- Required