{
  "type": "minecraft:random_patch",
  "config": {
    "tries": 64,
    "xz_spread": 7,
    "y_spread": 3,
    "feature": {
      "feature": {
        "config": {
          "to_place": {
            "state": {
              "Name": "minecraft:melon"
            },
            "type": "minecraft:simple_state_provider"
          }
        },
        "type": "minecraft:simple_block"
      },
      "placement": [
        {
          "type": "minecraft:block_predicate_filter",
          "predicate": {
            "predicates": [
              {
                "type": "minecraft:replaceable"
              },
              {
                "offset": [
                  0,
                  -1,
                  0
                ],
                "blocks": [
                  "minecraft:grass_block"
                ],
                "type": "minecraft:matching_blocks"
              }
            ],
            "type": "minecraft:all_of"
          }
        }
      ]
    }
  }
}
