Dynamic Registries
Dynamic Registries is a Forge library that lets other mods create new data-pack based registries, so their elements can be defined in data packs.
What it does
Other mods can use the library to set up registries that are filled from data packs rather than from code. Elements can also be defined in code, and when an element is defined in both places the code definition overrides the data-pack one. Elements must be written as JSON, and creating elements only through code is possible without any data pack.
The library was written for Minecraft 1.18.1 and is published only for that version, with no builds for other game versions. It was built from a pull request to the Won-Ton author's base library that had not been merged upstream and was not expected to be merged for a long time after release. Installation covers the server and each player's game. It is open source under the GNU Lesser General Public License v3.0 only.
Installing it needs a development setup in which the Forge mod loader checks dependencies when loading. Mod authors also have to add a block to their mods.toml file in src/main/resources/META-INF, replace the modid there with their own mod's id, and rearrange the version range where needed.
Key features
Data-pack registries
Other mods can create registries whose entries are loaded from data packs.
Code-defined elements
Elements can be registered directly in code, without a data pack.
Code overrides data packs
An element defined in code replaces the matching element from a data pack.
JSON element format
Data-pack elements are written as JSON files.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Mod authors adding registries
A mod author can expose a new registry so that content can be added through data packs instead of recompiling the mod.
Who it’s for: Mod developers who need data-pack based registries in a Forge 1.18.1 project. Players do not install it on its own; it comes in as a dependency of other mods.
How it compares
Cryptic Registry is also a Forge registry library, but it covers 1.19.2 – 1.20.1 and is not open source, so it does not serve 1.18.1 projects. James's Config Lib is a different kind of library, a configuration tool for Fabric, Forge, NeoForge and Quilt across 1.17.1 – 1.20.4 that is open source under the MIT License. Reforged Fabric API covers only 1.20 – 1.20.1, so it cannot be used with this 1.18.1 library.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Dynamic Registries | Forge | 1.18.1 | Client and server | 2022-03-01 |
| Cryptic Registry | Forge and NeoForge | 1.19.2 – 1.20.1 | Client and server | 2024-01-26 |
| James's Config Lib | Fabric, Forge, NeoForge and Quilt | 1.17.1 – 1.20.4 | Client or server, optional | 2024-01-27 |
| Reforged Fabric API | Forge | 1.20 – 1.20.1 | Client and server | 2023-08-25 |
Questions
Does Dynamic Registries need to be installed on both sides?
Which Minecraft version does Dynamic Registries support?
Can Dynamic Registries be used without a data pack?
In the catalog
Dynamic Registries is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 4,416 mods support Minecraft 1.18.1.
More from silverminer007
Similar mods
What the author says
Dynamic registries is a library mod that allows the creation of new data-pack based registries. It's possible to define elements in code and trough data-packs (even the data-pack in your mod), but not necessary; you can also create elements only in code or in data-packs. Elements that were defined in code can also be…
Official listing
- Modrinth page
- modrinth.com/mod/dynamicregistries
- Owner
- silverminer007
- Published
- 2022-02-21
- Updated on Modrinth
- 2022-03-01
- Facts verified
- 2026-10-15
