{
  "feature": {
    "type": "minecraft:multiface_growth",
    "block":"glow_lichen",
    "config": {
      "search_range": 2,
      "chance_of_spreading": 0.3,
      "can_place_on_floor": true,
      "can_place_on_ceiling": true,
      "can_place_on_wall": true,
      "can_be_placed_on": [
        "clay","stone","deepslate","andesite"
      ]
    }
  },
  "placement": [
    {
      "type": "minecraft:count_on_every_layer",
      "count": 20
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "down",
      "max_steps": 1,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              1,
              0
            ],
            "blocks": [
              "minecraft:air"
            ]
          },
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              0,
              0
            ],
            "blocks": [
              "minecraft:air"
            ]
          },
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              -1,
              0
            ],
            "blocks": [
              "minecraft:clay"
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
