{
  "feature": {
    "config": {
      "feature": {
        "feature": {
          "config": {
            "to_place": {
              "state": {
                "Name": "minecraft:pumpkin"
              },
              "type": "minecraft:simple_state_provider"
            }
          },
          "type": "minecraft:simple_block"
        },
        "placement": [
          {
            "predicate": {
              "predicates": [
                {
                  "blocks": "minecraft:air",
                  "type": "minecraft:matching_blocks"
                },
                {
                  "blocks": "minecraft:grass_block",
                  "offset": [
                    0,
                    -1,
                    0
                  ],
                  "type": "minecraft:matching_blocks"
                }
              ],
              "type": "minecraft:all_of"
            },
            "type": "minecraft:block_predicate_filter"
          }
        ]
      },
      "tries": 24,
      "xz_spread": 4,
      "y_spread": 3
    },
    "type": "minecraft:random_patch"
  },
  "placement": [
    {
      "chance": 100,
      "type": "minecraft:rarity_filter"
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "heightmap": "MOTION_BLOCKING",
      "type": "minecraft:heightmap"
    },
    {
      "noise_factor": 240.0,
      "noise_offset": 0.0,
      "noise_to_count_ratio": -1,
      "type": "minecraft:noise_based_count"
    },
    {
      "noise_factor": -240.0,
      "noise_offset": 0.0,
      "noise_to_count_ratio": 1,
      "type": "minecraft:noise_based_count"
    },
    {
      "type": "minecraft:biome"
    }
  ]
}