{
  "feature": "terralith:skylands/winter/trees",
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:weighted_list",
        "distribution": [
          {
            "weight": 90,
            "data": 4
          },
          {
            "weight": 10,
            "data": 5
          }
        ]
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "absolute": 290
      }
    },
    {
      "type": "minecraft:environment_scan",
      "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",
                    "offset": [
                      0,
                      -1,
                      0
                    ],
                    "blocks": [
                      "minecraft:stone","grass_block","diorite","calcite"
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      "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"
            }
          ]
        }
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
