{
    "processors": [
        {
            "processor_type": "minecraft:rule",
            "rules": [
                {
                    "location_predicate": {
                        "predicate_type": "minecraft:block_match",
                        "block": "minecraft:tall_grass"
                    },
                    "input_predicate": {
                        "predicate_type": "minecraft:always_true"
                    },
                    "output_state": {
                        "Name": "minecraft:air"
                    }
                },
                {
                    "location_predicate": {
                        "predicate_type": "minecraft:block_match",
                        "block": "minecraft:short_grass"
                    },
                    "input_predicate": {
                        "predicate_type": "minecraft:always_true"
                    },
                    "output_state": {
                        "Name": "minecraft:air"
                    }
                },
                {
                    "input_predicate": {
                        "block": "minecraft:dirt",
                        "predicate_type": "minecraft:block_match"
                    },
                    "location_predicate": {
                        "block": "minecraft:water",
                        "predicate_type": "minecraft:block_match"
                    },
                    "output_state": {
                        "Name": "minecraft:water",
                        "Properties": {
                            "level": "0"
                        }
                    }
                },
                {
                    "input_predicate": {
                        "block": "minecraft:grass_block",
                        "predicate_type": "minecraft:block_match"
                    },
                    "location_predicate": {
                        "block": "minecraft:water",
                        "predicate_type": "minecraft:block_match"
                    },
                    "output_state": {
                        "Name": "minecraft:water",
                        "Properties": {
                            "level": "0"
                        }
                    }
                },
                {
                    "input_predicate": {
                        "block": "minecraft:deepslate",
                        "predicate_type": "minecraft:block_match"
                    },
                    "location_predicate": {
                        "block": "minecraft:water",
                        "predicate_type": "minecraft:block_match"
                    },
                    "output_state": {
                        "Name": "minecraft:spruce_planks"
                    }
                },
                {
                    "location_predicate": {
                        "predicate_type": "minecraft:block_match",
                        "block": "minecraft:grass_block"
                    },
                    "input_predicate": {
                        "predicate_type": "minecraft:random_block_match",
                        "block": "minecraft:deepslate",
                        "probability": 0.05
                    },
                    "output_state": {
                        "Name": "minecraft:cobbled_deepslate"
                    }
                },
                {
                    "location_predicate": {
                        "predicate_type": "minecraft:block_match",
                        "block": "minecraft:grass_block"
                    },
                    "input_predicate": {
                        "predicate_type": "minecraft:random_block_match",
                        "block": "minecraft:deepslate",
                        "probability": 0.3
                    },
                    "output_state": {
                        "Name": "minecraft:basalt",
                        "Properties": {
                            "axis": "y"
                        }
                    }
                },
                {
                    "location_predicate": {
                        "predicate_type": "minecraft:block_match",
                        "block": "minecraft:grass_block"
                    },
                    "input_predicate": {
                        "predicate_type": "minecraft:random_block_match",
                        "block": "minecraft:deepslate",
                        "probability": 0.02
                    },
                    "output_state": {
                        "Name": "minecraft:smooth_basalt"
                    }
                }
            ]
        },
        {
            "__comment": "This prevents loading of the pack on pre-1.20 versions.",
            "processor_type": "minecraft:capped",
            "limit": 1,
            "delegate": {
                "processor_type": "minecraft:rule",
                "rules": []
            }
        }
    ]
}