Configurable Data Fixers 能够转换存档内方块、物品、实体、物品的 ID,以防在更新模组的过程中出现存档损坏。
使用该模组需要在 config/configurabledatafixers.json 内填写如下内容,以进行转换:
{
"dataVersion": 0,
"schemas": [
{
"version": 1,
"fixers": [
{
"type": "biome",
"fixers": [
{
"old_id": "旧的生物群系 ID",
"new_id": "新的生物群系 ID"
}
]
}
]
}
],
"registryFixers": [
{
"registry_key": "minecraft:block",
"fixers": [
{
"old_id": "旧的方块 ID",
"new_id": "新的方块 ID"
}
]
},
{
"registry_key": "minecraft:item",
"fixers": [
{
"old_id": "旧的物品 ID",
"new_id": "新的物品 ID"
}
]
}
]
}
作者建议在 registryFixers 中转换物品 ID 。
注意:模组只有在旧的 ID 未被检测到的情况下才会进行转换。
目前该模组已经并入 Configurable Everything 。