{
  "feature": {
    "type": "minecraft:glow_lichen",
    "config": {
      "search_range": 2,
      "chance_of_spreading": 0.1,
      "can_place_on_floor": true,
      "can_place_on_ceiling": true,
      "can_place_on_wall": true,
      "can_be_placed_on": [
        "minecraft:diamond_ore",
        "minecraft:stone"
      ]
    }
  },
  "placement": [
    {
      "type": "minecraft:count",
      "count": 50
    },
    {
      "type": "minecraft:count",
      "count": 50
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:random_offset",
      "xz_spread": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": -8,
          "max_inclusive": 8
        }
      },
      "y_spread": 0
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_to_count_ratio": 1,
      "noise_factor": 30,
      "noise_offset": 0.07
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_to_count_ratio": -1,
      "noise_factor": 30,
      "noise_offset": -0.07
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "type": "minecraft:uniform",
        "min_inclusive": {
          "absolute": 150
        },
        "max_inclusive": {
          "absolute": 180
        }
      }
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "up",
      "max_steps": 32,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              1,
              0
            ],
            "blocks": [
              "minecraft:stone"
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
