When attempting to replace a custom biome using minecraft:replace_biomes , an error occurs:
02:41:41 [BiomeRegistry] [error] - minecraft:replace_biomes | No biome found with name: 'custom:test'
This ultimately results in the biome becoming unavailable.
Linked issues
is duplicated by 1
Attachments
Comments 3
This report does not have enough information for us to understand and reproduce the problem.
As explained in the instructions on the bug reporting page, when describing your bug, please include the following information in the Description section:
List of Steps to reproduce the issue
Actual observed result
Desired result
If you are using any add-ons, be sure to include the name and creator of each of them.
Videos and screenshots are also helpful, especially if the issue is a “visual” one.
Please Edit your report to add the above information to the Description.
This issue is currently Awaiting Response. It will automatically reopen when you add information.
Reports that do not have enough information will be closed as Incomplete.
When we create a new biome and assign it the ID default:test1 , the code is as follows:
json
{
"format_version": "1.21.120",
"minecraft:biome": {
"description": {
"identifier": "default:test1"
},
"components": {
"minecraft:climate": {
"downfall": 0.8,
"snow_accumulation": [ 0.0, 0.125 ],
"temperature": 0.95
},
"minecraft:overworld_height": {
"noise_type": "lowlands"
},
"minecraft:replace_biomes": {
"replacements": [
{
"dimension": "minecraft:overworld",
"targets": [ "minecraft:forest" ],
"amount": 0.1,
"noise_frequency_scale": 1
}
]
},
"minecraft:surface_builder": {
"builder": {
"type": "minecraft:overworld",
"sea_floor_depth": 50,
"sea_floor_material": "minecraft:sculk",
"foundation_material": "minecraft:sculk",
"mid_material": "minecraft:sculk",
"top_material": "minecraft:sculk",
"sea_material": "minecraft:water"
}
},
"minecraft:tags": {
"tags": [
"overworld",
"black_forest"
]
}
}
}
}
Then, feeling that this biome is not complete enough, we create another new biome with the ID default:test2 , whose code is:
json
{
"format_version": "beta",
"minecraft:biome": {
"description": {
"identifier": "default:test2"
},
"components": {
"minecraft:climate": {
"downfall": 0.4,
"temperature": 0.8
},
"minecraft:overworld_height": {
"noise_type": "default"
},
"minecraft:replace_biomes": {
"replacements": [
{
"dimension": "minecraft:overworld",
"targets": [ "default:test2" ],
"amount": 1,
"noise_frequency_scale": 1
}
]
},
"minecraft:tags": {
"tags": [
"caves",
"mushroom_caves",
"overworld",
"monster"
]
},
"minecraft:subsurface_builder": {
"builder": {
"type": "minecraft:noise_gradient",
"non_replaceable_blocks": [
"stone"
],
"gradient_blocks": [
"minecraft:air",
"minecraft:air",
"minecraft:air",
"minecraft:air",
"minecraft:sculk"
]
}
}
}
}
}
However, when we excitedly launch the game to check the brand-new cave biome, the game throws an error:
plaintext
15:25:03 [BiomeRegistry] [error] - minecraft:replace_biomes | No biome found with name: 'default:test1'
Additionally, when entering the command /locate biome default:test2 in the world, the biome ID does not appear at all, and the biome cannot be found.
Thank you for helping us improve Minecraft! We saved your files: