Material Lib

Material Lib

A material library making it that much easier to add vanilla-style materials to Minecraft.

by
168 Downloads
fabricneoforgelibrary
Rent Server with this Mod

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

Material Lib 26.2.0.4release
MC 26.2fabric
June 20, 2026
Material Lib 26.2.0.9release
MC 26.2neoforge
June 20, 2026
Material Lib 21.11.4.0release
MC 1.21.11neoforge
June 19, 2026
Material Lib 26.1.2.3release
MC 26.1.2fabric
June 15, 2026
Material Lib 26.1.3.0release
MC 26.1, 26.1.1, 26.1.2neoforge
June 10, 2026

How to Install Material Lib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2).

3

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

fabricneoforge

Minecraft Versions

26.2, 26.1.2, 26.1.1 (+3 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install Material Lib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Creative Commons Attribution Non Commercial Share Alike 4.0 International
Server-side
Required

Supported Versions

26.226.1.226.1.126.11.21.111.21.4