{
  "feature": "terralith:forest/flower/mid/trees_mid",
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:weighted_list",
        "distribution": [
          {
            "data": 9,
            "weight": 90
          },
          {
            "data": 10,
            "weight": 10
          }
        ]
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE"
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_factor": 215,
      "noise_offset": 0.5,
      "noise_to_count_ratio": 1
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_factor": 215,
      "noise_offset": 0,
      "noise_to_count_ratio": -1
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:replaceable"
          },
          {
            "type": "minecraft:would_survive",
            "state": {
              "Name": "minecraft:fern"
            }
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}