Bedrock-OSS / bedrock-wiki

Rewrite of the Bedrock Wiki.
https://wiki.bedrock.dev
158 stars 258 forks source link

ore placement #871

Open NatulilakkReal opened 1 month ago

NatulilakkReal commented 1 month ago

Issue: Im trying to make custom ore placement but its not working

BP/features/emily_ore_feature.json
{
    "format_version": "1.17.0",
    "minecraft:ore_feature": {
        "description": {
            "identifier": "emily:emily_ore_feature"
        },
        "count": 8,
        "replace_rules": [
            {
                "places_block": "emily:emily_ore",
                "may_replace": ["minecraft:stone"]
            },
            {
                "places_block": "emily:emily_ore",
                "may_replace": ["minecraft:deepslate"]
            }
        ]
    }
}
BP/feature_rules/overworld_underground_emily_ore_feature.json
{
    "format_version": "1.13.0",
    "minecraft:feature_rules": {
        "description": {
            "identifier": "emily:overworld_underground_emily_ore_feature",
            "places_feature": "emily:emily_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": 10,
            "coordinate_eval_order": "zyx",
            "x": {
                "distribution": "uniform",
                "extent": [0, 16]
            },
            "y": {
                "distribution": "uniform",
                "extent": [
                    0,
                    62
                ]
            },
            "z": {
                "distribution": "uniform",
                "extent": [0, 16]
            }
        }
    }
}

Page: Generating Custom Ores

NatulilakkReal commented 1 month ago

Btw im using Minecraft education edision