
Lattice API
Lattice API is a lightweight NeoForge modding framework that removes boilerplate and streamlines content creation. It provides simple, unified tools for registering blocks, items, tags and more!
About this Mod
Lattice API
The Lattice API is a lightweight, developer-friendly framework designed to make minecraft modding on NeoForge easier, faster and far more organized.
The API provides a clean, unified base layer that handles the repetitive boilerplate of Minecraft mod development, allows mod authors to focus on features rather than infrastructure.
Whether you're creating a small add-on or building a large mod with hundreds of items and blocks, the Lattice API streamlines your workflow by offering automatic registration utilities, simplified instance creation and consistent API patterns that reduce your code duplication.
What does this API do?
Altough the Lattice API does not add new content by itself, it comes included with many base classes and utilities that make it simple to create, and register new blocks, items and a lot more! The Lattice API supports all kind of instances, including:
- Items
- Blocks
- Tags (for blocks and items)
- Creative tabs
- Automatic data generation
The API is designed so mod developers can not only use the built-in classes, but also extend the API using custom classes and instances, adding an even wider variety of content to add, all while retaining the customizability! Please keep in mind that the API is currently in it's early stages of development, and does not contain a lot of content yet! The API does not add stuff by itself.
Modular and extensible
The API is designed so mod developers can not only use the built-in classes, but also extend the API using custom classes and instances, adding an even wider variety of content to add!
Why should I use the Lattice API?
This API reduces the amount of boilerplating you need to do for your mod. You can create items directly, while assigning properties like stacksize, durability, fire resistance and a lot more!
Because of the automatic data generation, all you have to do is register an item or block, add a texture, and you're good to go!
Ideal for both Beginners and Advanced Modders
The inspiration behind the API was that modding can be quite tricky to get into, as I have experienced myself. When I got into modding, I had no clue what I was doing, and this frustrated me. This inspired me to create this API, so everyone, no matter the amount of experience, can enjoy bringing their creation to life!
Documentation
As this mod is still heavily in development, the documentation does not exist yet (apart from a small guide in the Discord). For assistance integrating the API into your mod, please visit our Discord server.
Available Versions
How to Install Lattice API on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set neoforge Loader
In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Lattice API". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Lattice API server crashes on startup – what to do?
Most common cause: wrong neoforge 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 Lattice API compatible with neoforge?
Lattice API officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Lattice API – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Lattice API 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 Lattice API with just one click on your server.