Back to mods
Registry Helper Lib project artwork

Modrinth · Minecraft mod

Registry Helper Lib

A small library to register faster and easier. Supports Minecraft's and custom registries.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Registry Helper Lib release should I use?

Updated 9 months ago
Latest stable file 1.0.3+1.20.1
Game version 1.20.1, 1.20.2, 1.20.3
Loader Fabric

Registry Helper Lib 1.0.3+1.20.1 targets 1.20.1, 1.20.2, 1.20.3 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Registry Helper Lib required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Registry Helper Lib 1.0.3+1.20.1 need?

1.0.3+1.20.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Registry Helper Lib without breaking your instance.

Built for Registry Helper Lib 1.0.3+1.20.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.3+1.20.1. It targets 1.20.1, 1.20.2, 1.20.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.3+1.20.1. It opens that exact file at the source.

About this project

What does Registry Helper Lib add?

RegistryHelperLib

Are you tired of writing a lot of code to register all the things of minecraft?
With this little library, you will be able to register in an easier way.

Installation

Add the Modrinth's Maven Repository in build.gradle:

    repositories {
        maven {
		    name = 'Modrinth'
		    url = 'https://api.modrinth.com/maven'
		    content {
			includeGroup 'maven.modrinth'
		}
	}
    }

Then add the mod implementation, still in build.gradle:

    dependencies{
        //other dependencies
        modImplementation("maven.modrinth:registry-helper-lib:${project.registry_helper_version}")
    }

Then add the version variable in gradle.properties. Replace the version below by the version of the lib you want:

    registry_helper_version= <version>

How to use it?

Create an instance of the RegistryHelper class. This instance will allow you to register for a registry type.

    public class ModItems {
        private static final RegistryHelper<Item> registryHelper=new RegistryHelper<>(Registries.ITEM,ExampleMod.MOD_ID);
        public static final Item EXAMPLE_ITEM= registryHelper.register("name",new Item(new Item.Settings()));

        public static void init(){
        
        }
    }

Project description from Modrinth.

Pick your setup

Registry Helper Lib by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

15 available setups

Showing the newest 12 of 15 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Registry Helper Lib versions and loaders

6 of 6 releases match

Looking for an older file? The official Modrinth project page is in Resources.