#Making a Plant Naturally Spawn

6 messages · Page 1 of 1 (latest)

random verge
#

Making a Plant Naturally Spawn

gritty marten
#

Looks right enough. I’d dump the rule enforcements, though.

#

Just in case.

random verge
#

Just making sure that's what you meant since I haven't seen someone refer to it as rule enforcements

#

anyways here it is

{
    "format_version": "1.13.0",
    "minecraft:feature_rules": {
        "description": {
            "identifier": "m:overworld_surface_blue_sweet_berry_bush",
            "places_feature": "m:blue_sweet_berry_bush_feature"
        },
        "conditions": {
            "placement_pass": "surface_pass",
            "minecraft:biome_filter": [
                {
                    "any_of": [
                        {
                            "test": "has_biome_tag",
                            "operator": "==",
                            "value": "overworld"
                        },
                        {
                            "test": "has_biome_tag",
                            "operator": "==",
                            "value": "overworld_generation"
                        }
                    ]
                }
            ]
        },
        "distribution": {
            "iterations": 1,
            "x": {
                "extent": [0, 16],
                "distribution": "uniform"
            },
            "y": "query.heightmap(v.worldx, v.worldz)",
            "z": {
                "extent": [0, 16],
                "distribution": "uniform"
            },
            "scatter_chance": {
                "numerator": 1,
                "denominator": 5
            }
        }
    }
}