
Configurable Data Fixers
Allows to create custom data fixers through a config
- Загрузки
- 8K
- Подписчики
- 8
- Обновлён
- 28 августа 2023 г.
- Лицензия
- LGPL-3.0-only
Опубликован 19 февраля 2023 г.
THIS MOD IS DEPRECATED, PLEASE VISIT THE NEW MOD HERE
This mod provides a config in which one can convert registered IDs.
This mod works with vanilla registries as well as modded registries added through Fabric's registry API. Can be useful for modpacks as mods are often changed.
A more advanced "schema" format is available with the types block, biome, entity, and item, however it is recommended to use registry fixers for items. Using the item schema fixer can result in items being removed from containers.
Here is the config format:
{
"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"
}
]
}
]
}
The config file can be found at ./config/configurabledatafixers.json
The config file will have examples set up for you.
Note: Entries in the config will only convert if the old_id is not found in the game. Ex: If you have old_id set to minecraft:grass_block and new_id set to minecraft:stone, grass blocks will stay the same.
This mod was made possible by FrozenLib's config library.
Ченджлог
1.2.2-mc1.20.1Релиз1.20.1 · 28 августа 2023 г.
- Updated embedded FrozenLib to 1.3.7
1.2.1-mc1.20.1Релиз1.20.1 · 21 июля 2023 г.
- Updated embedded FrozenLib to 1.3.4
1.2.0-mc1.20.1Релиз1.20.1 · 24 июня 2023 г.
- Updated to 1.20.1
- Changed config file to a JSON5 file. The old configuration file will need to be converted. A copy-paste will not work, as the keys have changed, but copying the values over will work.
- Updated embedded FrozenLib to 1.3.1
- Improved internals
1.2.0-mc1.19.4Релиз1.19.4 · 24 июня 2023 г.
- Changed config file to a JSON5 file. The old configuration file will need to be converted. A copy-paste will not work, as the keys have changed, but copying the values over will work.
- Updated embedded FrozenLib to 1.2.4
1.2.0-mc1.19.3Релиз1.19.3 · 24 июня 2023 г.
- Changed config file to a JSON5 file. The old configuration file will need to be converted. A copy-paste will not work, as the keys have changed, but copying the values over will work.
- Updated embedded FrozenLib to 1.2.4
1.2.0-mc1.19.2Релиз1.19.2 · 24 июня 2023 г.
- Changed config file to a JSON5 file. The old configuration file will need to be converted. A copy-paste will not work, as the keys have changed, but copying the values over will work.
- Updated embedded FrozenLib to 1.2.4
1.1.1-mc1.19.4-pre3Бета1.19.4-pre3 · 4 марта 2023 г.
- Fixed a crash on 1.19.3+
1.1.1-mc1.19.3Релиз1.19.3 · 4 марта 2023 г.
- Fixed a crash on 1.19.3+
Комментарии
Загружаем…