A shared library and compatibility layer for Modern Mods and other NeoForge projects. Ported from Mantle
Maintained and published by Modern Mods.
Hilt is a shared Minecraft modding library maintained by Modern Mods for Minecraft 1.21.1 and NeoForge.
It provides common code, APIs, utilities, data systems, registration infrastructure, and other shared foundations used across projects that would otherwise need to duplicate the same functionality.
Hilt is primarily a developer dependency rather than a standalone gameplay mod.
Its purpose is simple:
Put the shared machinery in one place so the mods built on top of it can focus on their own systems.
Hilt also carries forward portions of the architecture and implementation lineage of Mantle and related Slime Knights projects while adapting that foundation for the modern NeoForge ecosystem.
Hilt provides reusable infrastructure for systems commonly shared between larger Minecraft mods.
Depending on the consuming project, this can include foundations for:
Not every Hilt system is necessarily used by every dependent mod.
The goal is to provide a stable shared foundation without forcing unrelated gameplay systems into the library itself.
Hilt is developed as part of the broader Modern Mods ecosystem.
Modern Mods builds substantial NeoForge projects centered around crafting, automation, progression, exploration, interoperability, and other large gameplay systems.
Hilt exists underneath those projects as shared infrastructure rather than as another gameplay-focused mod.
Modern Minecraft. Bigger systems.
View the Modern Mods organization
You generally only need to install Hilt when another mod lists it as a dependency.
Hilt is not intended to provide a major standalone gameplay experience.
If a mod requires Hilt:
.jar files in your mods directory.Dependent mods may require a specific Hilt version.
Hilt is intended to provide common infrastructure that can be shared between multiple NeoForge projects.
When developing against Hilt, keep in mind that APIs may evolve alongside the projects using them, especially while active ports and migrations are still underway.
Where practical, shared systems should remain: