Registry Library
Registry Library is a Fabric library that helps mod authors register custom content, including living entity spawn eggs, through a set of shared methods.
What it does
Registry Library is a library for mod developers. It groups methods for registering custom content, so a mod author can add items, blocks and entities with less boilerplate code. The library is meant for building other mods rather than changing gameplay on its own, and the author recommends placing it in the mods folder before the mods that depend on it.
The server must run Registry Library, while a client may leave it out. Files are published for Fabric only, with builds for 1.19.2, 1.20, 1.20.1 and 1.20.2, and the latest one is 1.20.2-1.0.0 for 1.20.2, released on 2023-12-01. The project is open source under the MIT License and its source code is public.
Key features
Registration methods
A set of methods for registering custom items, blocks and other content, so a mod's setup code stays short.
Living entity eggs
Registration of spawn eggs for living entities, which otherwise has to be written by hand in each mod.
Method list
The author lists the library's methods in the project documentation, so developers can find the registration calls they need.
Additional methods
New helper functions were added in later releases to extend what the library can register.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
Use cases
Building a content mod
A developer writing a Fabric mod can use the shared methods to register content instead of writing the registration code from scratch.
Adding spawn eggs
A mod that adds living entities can register matching spawn eggs through the library's methods.
Who it’s for: Mod developers who write Fabric content and want shared registration methods. Players who only install finished mods need the library only when one of those mods requires it, as DarkenDepths does.
How it compares
Registry Library supports Fabric only, for 1.19.2 – 1.20.2, and is open source under the MIT License. Generic Registry also targets Fabric and is open source, under the GNU General Public License v3.0 or later, with files for 1.7.2 – 26.1.2 and an optional environment on either side. VampireLib is open source under the Apache License 2.0 and covers 1.16.4 – 1.20.1 on client and server.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Registry Library | Fabric | 1.19.2 – 1.20.2 | Server required, client optional | 2023-12-01 |
| Generic Registry | Fabric | 1.7.2 – 26.1.2 | Client or server, optional | 2026-05-21 |
| VampireLib | Fabric | 1.16.4 – 1.20.1 | Client and server | 2023-07-10 |
Questions
Does Registry Library need to be on the client?
Which loader does Registry Library support?
Which mod requires Registry Library?
In the catalog
Registry Library is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 12,076 mods support Minecraft 1.20.2.
More from CodeCraftPlugin
Similar mods
What the author says
registerItem registerBlock registerBlocksWithoutBlockItem registerBlockItem registerEnchantments registerFluids registerEntity registerStatusEffects buildEntity This is for living entity as it also register eggs off course you can do it manually registerEgg
Official listing
- Modrinth page
- modrinth.com/mod/registry-library
- Owner
- CodeCraftPlugin
- Published
- 2023-01-12
- Updated on Modrinth
- 2023-12-01
- Facts verified
- 2026-10-15
