我有一个定义了结构地物、矿物地物和雕刻洞穴地物的Addon,但是明明在1.20.12就可以运行,到了1.20.30就开始不可以了,所有地物都这样报错:
亲测所有自定义的地物都这样,我给一些具有代表性的Json片段:
矿物地物:
结构地物:
这是地物换新写法了吗?大佬求求教教萌新吧QAQ
代码:
21:55:09[FeatureRegistry][error]-晨曦之旅测试图 | morninglighttour:ruby_deepslate_ore_feature | The feature uses the feature type 'minecraft:ore_feature', which is considered internal and thus not compatible with this engine version of the game.
21:55:09[FeatureRegistry][error]-晨曦之旅测试图 | No definition found for feature 'morninglighttour:ruby_deepslate_ore_feature'
矿物地物:
JSON:
//指向的方块均运作正常
{
"format_version": "1.20.20",
"minecraft:ore_feature": {
"description": {
"identifier": "morninglighttour:apatite_ore_feature"
},
"count": 3,
"replace_rules": [
{
"places_block": "morninglighttour:apatite",
"may_replace": [
{
"name": "minecraft:stone"
}
]
}
]
}
}
JSON:
//结构能正常被结构方块读取
{
"format_version": "1.20.20",
"minecraft:structure_template_feature": {
"description": {
"identifier": "morninglighttour:corsair_structure_feature"
},
"structure_name": "mystructure:corsair",
"adjustment_radius": 4,
"facing_direction": "random",
"constraints": {
"block_intersection": {
"block_allowlist": [
"minecraft:water",
"minecraft:air"
]
}
}
}
}