Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Registry Helper Library
Are you tired of writing all those annoying registries by hand? This library will help with that!
Registry Helper Library is a lightweight utility API for Fabric mod developers that eliminates the boilerplate involved in registering items, blocks, and armor. Instead of manually constructing ResourceKey and Identifier instances and wiring them through Registry.register calls for every single object, developers create one RegistryHelper instance per registry and call simple, purpose-built methods.
The library handles the common cases out of the box, plain items, blocks with automatically-generated BlockItems, armor pieces, and full four-piece armor sets — while still exposing a fully generic register method for any other vanilla registry (sounds, entities, etc.). It also tracks everything it registers, making it easy to loop over your mod's items and blocks later (for populating a creative tab, for example).
You can find the howto / Wiki on this mod on it's Github


