{
  "feature": "terralith:birch/tree_moss_base",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 160
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:random_offset",
      "xz_spread": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": -7,
          "max_inclusive": 7
        }
      },
      "y_spread": 0
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "up",
      "max_steps": 2,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:replaceable"
          },
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              -1,
              0
            ],
            "blocks": [
              "minecraft:birch_log"
            ]
          }
        ]
      },
      "allowed_search_condition": {
        "type": "minecraft:true"
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
