{
  "feature": "minecraft:snowed_spruce",
  "placement": [
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "up",
      "max_steps": 8,
      "target_condition": {
        "type": "minecraft:not",
        "predicate": {
          "type": "minecraft:matching_blocks",
          "blocks": "minecraft:powder_snow"
        }
      }
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:would_survive",
        "state": {
          "Name": "minecraft:spruce_sapling",
          "Properties": {
            "stage": "0"
          }
        }
      }
    }
  ]
}