{
	"feature": "cavernous:biomes/lush/marshy/roots/init",
	"placement": [
		{
			"type": "minecraft:count",
			"count": 8
		},
		{
			"type": "minecraft:in_square"
		},
		{
			"type": "minecraft:height_range",
			"height": {
				"type": "minecraft:uniform",
				"min_inclusive": {
					"above_bottom": 0
				},
				"max_inclusive": {
					"absolute": 57
				}
			}
		},
		{
			"type": "minecraft:biome"
		},
		{
			"type": "minecraft:environment_scan",
			"direction_of_search": "up",
			"max_steps": 32,
			"target_condition": {
				"type": "minecraft:all_of",
				"predicates": [
					{
						"type": "minecraft:not",
						"predicate": {
							"type": "minecraft:any_of",
							"predicates": [
								{
									"type": "minecraft:matching_blocks",
									"offset": [
										1,
										0,
										0
									],
									"blocks": "minecraft:mangrove_roots"
								},
								{
									"type": "minecraft:matching_blocks",
									"offset": [
										-1,
										0,
										0
									],
									"blocks": "minecraft:mangrove_roots"
								},
								{
									"type": "minecraft:matching_blocks",
									"offset": [
										0,
										0,
										1
									],
									"blocks": "minecraft:mangrove_roots"
								},
								{
									"type": "minecraft:matching_blocks",
									"offset": [
										0,
										0,
										-1
									],
									"blocks": "minecraft:mangrove_roots"
								}
							]
						}
					},
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							0,
							0
						],
						"blocks": [
							"minecraft:air"
						]
					},
					{
						"type": "minecraft:matching_block_tag",
						"offset": [
							0,
							1,
							0
						],
						"tag": "cavernous:all_cave_blocks"
					}
				]
			},
			"allowed_search_condition": {
				"type": "minecraft:matching_blocks",
				"offset": [
					0,
					0,
					0
				],
				"blocks": [
					"minecraft:air"
				]
			}
		}
	]
}
