{
	"feature": "nullscape:crystal/light_down",
	"placement": [
		{
			"type": "minecraft:count",
			"count": 250
		},
		{
			"type": "minecraft:count",
			"count": 8
		},
		{
			"type": "minecraft:in_square"
		},
		{
			"type": "minecraft:height_range",
			"height": {
				"type": "minecraft:uniform",
				"min_inclusive": {
					"above_bottom": 0
				},
				"max_inclusive": {
					"below_top": 0
				}
			}
		},
		{
			"type": "minecraft:noise_based_count",
			"noise_to_count_ratio": 1,
			"noise_factor": 221.728,
			"noise_offset": 0.5
		},
		{
			"type": "minecraft:environment_scan",
			"direction_of_search": "up",
			"target_condition": {
				"type": "minecraft:solid"
			},
			"allowed_search_condition": {
				"type": "minecraft:matching_blocks",
				"blocks": [
					"minecraft:air"
				]
			},
			"max_steps": 32
		},
		{
			"type": "minecraft:block_predicate_filter",
			"predicate": {
				"type": "minecraft:all_of",
				"predicates": [
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							-1,
							0
						],
						"blocks": [
							"minecraft:air"
						]
					},
					{
						"type": "minecraft:matching_blocks",
						"blocks": [
							"minecraft:air"
						]
					},
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							1,
							0
						],
						"blocks": [
							"minecraft:amethyst_block"
						]
					}
				]
			}
		}
	]
}
