{
  "type": "minecraft:random_selector",
  "config": {
    "features": [],
    "default": {
      "feature": {
        "type": "minecraft:simple_block",
        "config": {
          "to_place": {
            "type": "minecraft:simple_state_provider",
            "state": {
              "Name": "minecraft:fern"
            }
          }
        }
      },
      "placement": [
        {
          "type": "minecraft:environment_scan",
          "direction_of_search": "down",
          "max_steps": 10,
          "target_condition": {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              -1,
              0
            ],
            "blocks": "minecraft:grass_block"
          }
        }
      ]
    }
  }
}
