{
	"feature": "stellarity:frozen_spikes/ice_spikes",
	"placement": [
		{
			"type": "minecraft:count",
			"count": 3
		},
		{
			"type": "minecraft:rarity_filter",
			"chance": 2
		},
		{
			"type": "minecraft:in_square"
		},
		{
			"type": "minecraft:height_range",
			"height": {
				"type": "minecraft:uniform",
				"min_inclusive": {
					"above_bottom": 0
				},
				"max_inclusive": {
					"absolute": 180
				}
			}
		},
		{
			"type": "minecraft:environment_scan",
			"direction_of_search": "up",
			"max_steps": 32,
			"target_condition": {
				"type": "minecraft:all_of",
				"predicates": [
					{
						"type": "minecraft:matching_blocks",
						"blocks": [
							"minecraft:end_stone"
						],
						"offset": [
							0,
							1,
							0
						]
					},
					{
						"type": "minecraft:matching_blocks",
						"blocks": [
							"minecraft:air",
							"minecraft:cave_air"
						],
						"offset": [
							0,
							0,
							0
						]
					}
				]
			}
		},
		{
			"type": "minecraft:biome"
		}
	]
}