Dynamic Registries

⭐ — (3 endorsements) 📥 799 downloads 📌 v1.18.1-1.0.0 📅 2/21/2022
⚪ Last updated 2022

By silverminer007 · forge

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 3/1/2022 📅 Created: 2/21/2022
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.4% endorsement rate
  • 🏆 #302 of 400 forge mods in this game by downloads

📋 About This Mod

# dynamic registries 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 overwritten from data-packs. Elements must be encoded in JSON. This library is based on the changes introduced in (https://github.com/MinecraftForge/MinecraftForge/pull/8263). This PR probably isn't going to be merged before 1.18.2 gets released, but I needed this feature already for 1.18.1, so I wrote this mod. There won't be versions of this library for other Minecraft version for this reason. ### How to add this library to your mods dependencies To add the library to your gradle setup, add modrinth to your dependency repositories. ``` repositories { maven { name = "Modrinth" url = "https://api.modrinth.com/maven" content { includeGroup "maven.modrinth" } } } ``` Add the above codeblock to your build.gradle above your dependencies block (the order doesn't matter that strong, but lets assume that you've placed it there to simplify things a bit). If you already had a ```repositories``` block, only append the ```maven``` block to it. We now define the dependency itself. Add the line below to your dependencies block in your build.gradle. Version `0.1.0` was the latest at time of writing. Replace that with the latest currently available version. ``` implementation fg.deobf("maven.modrinth:dynamicregistries:0.1.0") ``` You can now refresh your gradle project to download the dependencies and re-run IDE setup tasks (`genIntellijRuns`, `genEclipseRuns` or `genVSCodeRuns`) You can now use dynamic registries in your development setup, but you should make the forge mod-loader check for it's dependencies when loading. That requires changes in your mods.toml (in `src/main/resources/META-INF`). Add the following block at the end of the file ``` ] modId = "dynamicregistries" mandatory = true versionRange = "(https://www.flaticon.com/free-icons/bookshelf)

# dynamic registries

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 overwritten from data-packs. Elements must be encoded in JSON.

This library is based on the changes introduced in (https://github.com/MinecraftForge/MinecraftForge/pull/8263). This PR probably isn't going to be merged before 1. 18. 2 gets released, but I needed this feature already for 1. 18. 1, so I wrote this mod. There won't be versions of this library for other Minecraft version for this reason.

### How to add this library to your mods dependencies

To add the library to your gradle setup, add modrinth to your dependency repositories.

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

Add the above codeblock to your build.gradle above your dependencies block (the order doesn't matter that strong, but lets assume that you've placed it there to simplify things a bit). If you already had a ```repositories``` block, only append the ```maven``` block to it.

We now define the dependency itself. Add the line below to your dependencies block in your build.gradle. Version `0. 1. 0` was the latest at time of writing. Replace that with the latest currently available version. ``` implementation fg.deobf("maven.modrinth:dynamicregistries:0. 1. 0")

You can now refresh your gradle project to download the dependencies and re-run IDE setup tasks (`genIntellijRuns`, `genEclipseRuns` or `genVSCodeRuns`)

You can now use dynamic registries in your development setup, but you should make the forge mod-loader check for it's dependencies when loading. That requires changes in your mods.toml (in `src/main/resources/META-INF`). Add the following block at the end of the file

``` [] modId = "dynamicregistries" mandatory = true versionRange = "(https://www.flaticon.com/free-icons/bookshelf)

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
silverminer007
Version
1.18.1-1.0.0
Downloads
799
Endorsements
3
Category
forge
Created
2/21/2022
Updated
3/1/2022
Game Versions
1.18.1
Tags
library

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Dynamic Registries support?

The author lists 1.18.1. Other versions may work but are untested by the author.

What is the latest version of Dynamic Registries?

Version 1.18.1-1.0.0, published 2022-03-01 with 799 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More forge 👤 More by silverminer007 🔎 Similar Mods 🌐 Best forge (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods