{
  "feature": {
    "type": "minecraft:simple_block",
    "config": {
      "to_place": {
        "type": "minecraft:simple_state_provider",
        "state": {
          "Name": "minecraft:hanging_roots",
          "Properties": {
            "waterlogged": "false"
          }
        }
      }
    }
  },
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": 200,
          "max_inclusive": 220
        }
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_to_count_ratio": 5,
      "noise_factor": 30,
      "noise_offset": -0.35
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "type": "minecraft:uniform",
        "min_inclusive": {
          "absolute": -64
        },
        "max_inclusive": {
          "absolute": 255
        }
      }
    },
        {
      "type": "minecraft:environment_scan",
      "direction_of_search": "up",
      "max_steps": 6,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              0,
              0
            ],
            "blocks": [
              "minecraft:air"
            ]
          },
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              1,
              0
            ],
            "blocks": [
              "minecraft:stone","deepslate","granite","andesite","diorite","coarse_dirt","rooted_dirt"
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
