Topic category: Help with Minecraft modding (Bedrock Edition)
I've created an ore to generate in the nether by replacing some of the basalt blocks but none are appearing.
even stranger though is how even when I've set the block to only generate in the nether It'll still appear in the overworld if I allow the block to replace another block found in the overworld, like stone or air.
I think this has something to do with it but I don't understand minecraft code
EDIT: nvm I found out how it works
If you want it (your ore) to spawn in a specific biome you gotta change the "value" of the "has biome tag"
Ex:
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "basalt_deltas"
}
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "hell"
}
Just google the biome you want the ore to spawn in and find its data values
{
"format_version": "1.13.0",
"minecraft:feature_rules": {
"description": {
"identifier": "e_i_amazing_mod_shadespark_ore_ore_feature_rule",
"places_feature": "e_i_amazing_mod:e_i_amazing_mod_shadespark_ore_ore_feature"
},
"conditions": {
"placement_pass": "underground_pass",
"minecraft:biome_filter": [
{
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "overworld"
},
{
"test": "has_biome_tag",
"operator": "==",
"value": "overworld_generation"
}
]
}
]
},
"distribution": {
"iterations": 30,
"coordinate_eval_order": "zyx",
"x": {
"distribution": "uniform",
"extent": [
0,
16
]
},
"y": {
"distribution": "uniform",
"extent": [
-30,
70
]
},
"z": {
"distribution": "uniform",
"extent": [
0,
16
]
}
}
}
}