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.