{
  "feature": {
    "type": "minecraft:simple_block",
    "config": {
      "to_place": {
        "type": "minecraft:noise_provider",
        "seed": 292202,
        "noise": {
          "firstOctave": -6,
          "amplitudes": [
            1,
            0.85,
            0.5,
            0.5
          ]
        },
        "scale": 1,
        "states": [
          {
            "Name": "minecraft:stone"
          },
          {
            "Name": "minecraft:stone"
          },
          {
            "Name": "minecraft:stone"
          },
          {
            "Name": "minecraft:stone"
          },
          {
            "Name": "minecraft:air"
          },
          {
            "Name": "minecraft:stone"
          },
          {
            "Name": "minecraft:stone"
          },
          {
            "Name": "minecraft:stone"
          },
          {
            "Name": "minecraft:stone"
          }
        ]
      }
    }
  },
  "placement": [
    {
      "type": "minecraft:count",
      "count": 1
    },
    {
      "type": "minecraft:count",
      "count": 20
    },
        {
      "type": "minecraft:in_square"
    },
        {
      "type": "minecraft:noise_based_count",
      "noise_to_count_ratio": 1,
      "noise_factor": 900,
      "noise_offset": 0.0
    },
    {
      "type": "minecraft:random_offset",
      "xz_spread": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": -5,
          "max_inclusive": 5
        }
      },
      "y_spread": 0
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE"
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "down",
      "max_steps": 1,
      "target_condition": {
        "type": "minecraft:matching_blocks",
        "blocks": [
          "minecraft:stone","andesite","diorite","cobblestone","dripstone_block","granite","tuff","calcite","moss_block","mossy_cobblestone"
        ]
      }
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:matching_fluids",
                  "offset": [
                    1,
                    0,
                    0
                  ],
                  "fluids": [
                    "minecraft:water"
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "offset": [
                    0,
                    1,
                    0
                  ],
                  "fluids": [
                    "minecraft:water"
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "offset": [
                    0,
                    0,
                    1
                  ],
                  "fluids": [
                    "minecraft:water"
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "offset": [
                    0,
                    0,
                    -1
                  ],
                  "fluids": [
                    "minecraft:water"
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "offset": [
                    0,
                    -1,
                    0
                  ],
                  "fluids": [
                    "minecraft:water"
                  ]
                },
                {
                  "type": "minecraft:matching_fluids",
                  "offset": [
                    0,
                    0,
                    -1
                  ],
                  "fluids": [
                    "minecraft:water"
                  ]
                }
              ]
            }
          },
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              1,
              0
            ],
            "blocks": [
              "minecraft:air"
            ]
          },
                    {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              0,
              0
            ],
            "blocks": [
              "minecraft:stone","granite","andesite","diorite","calcite","cobblestone","tuff","calcite","moss_block","mossy_cobblestone"
            ]
          },
          {
            "type": "minecraft:any_of",
            "predicates": [
              {
                "type": "minecraft:all_of",
                "predicates": [
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      1,
                      2,
                      0
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      -1,
                      2,
                      0
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      0,
                      2,
                      1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      0,
                      2,
                      -1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  }
                ]
              },


              {
                "type": "minecraft:all_of",
                "predicates": [
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      1,
                      0,
                      1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      1,
                      0,
                      -1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      1,
                      1,
                      0
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      1,
                      -1,
                      0
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  }
                ]
              },


              {
                "type": "minecraft:all_of",
                "predicates": [
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      -1,
                      0,
                      1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      -1,
                      0,
                      -1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      -1,
                      1,
                      0
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      -1,
                      -1,
                      0
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  }
                ]
              },

              {
                "type": "minecraft:all_of",
                "predicates": [
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      -1,
                      0,
                      1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      1,
                      0,
                      1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      0,
                      -1,
                      1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      0,
                      -1,
                      1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  }
                ]
              },

              {
                "type": "minecraft:all_of",
                "predicates": [
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      -1,
                      0,
                      -1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      1,
                      0,
                      -1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      0,
                      -1,
                      -1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  },
                  {
                    "type": "minecraft:matching_blocks",
                    "offset": [
                      0,
                      -1,
                      -1
                    ],
                    "blocks": [
                      "minecraft:air"
                    ]
                  }
                ]
              }



            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
