Download Configurable Data Fixers — Minecraft Mods — MetaMods

Configurable Data Fixers

Archived

Downloads

0

Last update

2 years ago

Versions

1.19.2 — 1.20.1
Server
Fabric
Quilt
Utils

Configurable Data Fixers

Mod Capabilities

This mod provides a flexible configuration system that allows converting registered identifiers in the game through a configuration file. It is compatible with both vanilla Minecraft registries and modded registries added via Fabric Registry API.

Particularly useful for modpack creators where the mod composition often changes during development.

Configuration Formats

Two main approaches to configuring conversions are available. The more advanced "schema" format supports types block, biome, entity, and item. However, for items, it is recommended to use standard registry fixers, as applying the schema format may lead to items being removed from containers.

Configuration Example

{
  "dataVersion": 0,
  "schemas": [
    {
      "version": 1,
      "fixers": [
        {
          "type": "biome",
          "fixers": [
            {
              "old_id": "examplemod:example_biome",
              "new_id": "newmod:new_biome"
            }
          ]
        }
      ]
    }
  ],
  "registryFixers": [
    {
      "registry_key": "minecraft:block",
      "fixers": [
        {
          "old_id": "examplemod:example_block",
          "new_id": "newmod:new_block"
        }
      ]
    },
    {
      "registry_key": "minecraft:item",
      "fixers": [
        {
          "old_id": "examplemod:example_item",
          "new_id": "newmod:new_item"
        }
      ]
    }
  ]
}

Location and Features

The configuration file is located at ./config/configurabledatafixers.json and contains ready-made examples for quick start.

Important note: Conversions in the configuration only trigger if old_id is not found in the game. For example, if you set old_id as minecraft:grass_block and new_id as minecraft:stone, grass blocks will remain unchanged.

Project members
Treetrain1

Treetrain1

Developer

I_am_Merp

I_am_Merp

Developer

Created: 19 Feb 2023

ID: 9995