{
  "feature": "terralith:skylands/winter/trees",
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:weighted_list",
        "distribution": [
          {
            "data": 4,
            "weight": 90
          },
          {
            "data": 5,
            "weight": 10
          }
        ]
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "absolute": 290
      }
    },
    {
      "type": "minecraft:environment_scan",
      "allowed_search_condition": {
        "type": "minecraft:not",
        "predicate": {
          "type": "minecraft:any_of",
          "predicates": [
            {
              "type": "minecraft:matching_block_tag",
              "offset": [
                0,
                0,
                0
              ],
              "tag": "minecraft:leaves"
            },
            {
              "type": "minecraft:matching_block_tag",
              "tag": "minecraft:logs"
            }
          ]
        }
      },
      "direction_of_search": "down",
      "max_steps": 32,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:any_of",
            "predicates": [
              {
                "type": "minecraft:all_of",
                "predicates": [
                  {
                    "type": "minecraft:matching_blocks",
                    "blocks": [
                      "minecraft:stone",
                      "grass_block",
                      "diorite",
                      "calcite"
                    ],
                    "offset": [
                      0,
                      -1,
                      0
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}