{
	"feature": "cavernous:myst/dreadmire/brain_coral",
	"placement": [
		{
			"type": "minecraft:count",
			"count": 2
		},
		{
			"type": "minecraft:in_square"
		},
		{
			"type": "minecraft:height_range",
			"height": {
				"type": "minecraft:uniform",
				"min_inclusive": {
					"above_bottom": 0
				},
				"max_inclusive": {
					"absolute": 110
				}
			}
		},
		{
			"type": "minecraft:environment_scan",
			"direction_of_search": "down",
			"max_steps": 32,
			"target_condition": {
				"type": "minecraft:all_of",
				"predicates": [
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							1,
							0
						],
						"blocks": [
							"minecraft:water"
						]
					},
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							8,
							0
						],
						"blocks": [
							"minecraft:water"
						]
					},
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							0,
							0
						],
						"blocks": [
							"minecraft:nether_wart_block",
							"minecraft:mud",
							"minecraft:soul_soil",
							"minecraft:crimson_hyphae"
						]
					}
				]
			},
			"allowed_search_condition": {
				"type": "minecraft:true"
			}
		},
		{
			"type": "minecraft:random_offset",
			"xz_spread": 0,
			"y_spread": 1
		},
		{
			"type": "minecraft:biome"
		}
	]
}
