{
	"feature": "stellarity:the_hallow/lanterns",
	"placement": [
		{
			"type": "minecraft:count",
			"count": 256
		},
		{
			"type": "minecraft:in_square"
		},
		{
			"type": "minecraft:height_range",
			"height": {
				"type": "minecraft:uniform",
				"min_inclusive": {
					"above_bottom": 40
				},
				"max_inclusive": {
					"absolute": 170
				}
			}
		},
		{
			"type": "minecraft:environment_scan",
			"direction_of_search": "up",
			"max_steps": 24,
			"target_condition": {
				"type": "minecraft:all_of",
				"predicates": [
					{
						"type": "minecraft:has_sturdy_face",
						"direction": "down"
					},
                    {
                        "type": "minecraft:matching_blocks",
                        "blocks": [
                            "minecraft:stripped_birch_log",
							"minecraft:stripped_oak_log"
                        ]
                    }
				]
			},
			"allowed_search_condition": {
				"type": "minecraft:matching_blocks",
				"blocks": [
					"minecraft:air"
				]
			}
		},
        {
			"type": "minecraft:random_offset",
			"xz_spread": 0,
			"y_spread": -1
		},
		{
			"type": "minecraft:biome"
		}
	]
}
