HomeJavaModsDynamic Registries Modifier

Description

This is an injection tool for Minecraft Dynamic Registries, which can be used as a pre-library

Using

  1. Download the jar and put it in the project libs
  2. Modify build.gradle
repositories {
  flatDir {
        dirs 'libs'
  }
}
dependencies {
  modImplementation include(files("libs/dynamic-registries-modifier-1.0.0.jar"))
}
  1. Using code
import cc.thonly.registry_modifier.api.DynamicRegistryManagerCallback;

public static final Identifier TEST = Identifier.of("test");
public static void load() {
  DynamicRegistryManagerCallback.Builder<Dialog> builder = DynamicRegistryManagerCallback.createBuilder(RegistryKeys.DIALOG);
  builder.register(builder, TEST, value...)
  DynamicRegistryManagerCallback.add(builder);
}
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more