{
	"feature": "minecraft:spruce",
	"placement": [
		{
			"type": "environment_scan",
			"direction_of_search": "up",
			"target_condition": {
				"predicate": {
					"blocks": [
						"minecraft:powder_snow"
					],
					"type": "minecraft:matching_blocks"
				},
				"type": "minecraft:not"
			},
			"max_steps": 8
		},
		{
			"type": "minecraft:block_predicate_filter",
			"predicate": {
				"offset": [
					0,
					-1,
					0
				],
				"blocks": [
					"minecraft:snow_block",
					"minecraft:powder_snow"
				],
				"type": "minecraft:matching_blocks"
			}
		}
	]
}
