{
	"feature": "cavernous:biomes/lush/marshy/roots/d",
	"placement": [
		{
			"type": "minecraft:count",
			"count": 170
		},
		{
			"type": "minecraft:count",
			"count": 50
		},
		{
			"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:matching_blocks",
						"offset": [
							0,
							0,
							0
						],
						"blocks": [
							"minecraft:mangrove_roots"
						]
					},
					{
						"type": "minecraft:any_of",
						"predicates": [
							{
								"type": "minecraft:all_of",
								"predicates": [
									{
										"type": "minecraft:matching_blocks",
										"offset": [
											1,
											0,
											0
										],
										"blocks": "minecraft:air"
									},
									{
										"type": "minecraft:matching_blocks",
										"offset": [
											-1,
											0,
											0
										],
										"blocks": "minecraft:mangrove_roots"
									}
								]
							},
							{
								"type": "minecraft:all_of",
								"predicates": [
									{
										"type": "minecraft:matching_blocks",
										"offset": [
											-1,
											0,
											0
										],
										"blocks": "minecraft:air"
									},
									{
										"type": "minecraft:matching_blocks",
										"offset": [
											1,
											0,
											0
										],
										"blocks": "minecraft:mangrove_roots"
									}
								]
							},
							{
								"type": "minecraft:all_of",
								"predicates": [
									{
										"type": "minecraft:matching_blocks",
										"offset": [
											0,
											0,
											-1
										],
										"blocks": "minecraft:air"
									},
									{
										"type": "minecraft:matching_blocks",
										"offset": [
											0,
											0,
											1
										],
										"blocks": "minecraft:mangrove_roots"
									}
								]
							},
							{
								"type": "minecraft:all_of",
								"predicates": [
									{
										"type": "minecraft:matching_blocks",
										"offset": [
											0,
											0,
											1
										],
										"blocks": "minecraft:air"
									},
									{
										"type": "minecraft:matching_blocks",
										"offset": [
											0,
											0,
											-1
										],
										"blocks": "minecraft:mangrove_roots"
									}
								]
							}
						]
					}
				]
			},
			"allowed_search_condition": 									{
				"type": "minecraft:matching_blocks",
				"offset": [
					0,
					0,
					0
				],
				"blocks": "minecraft:air"
			}
		}
	]
}
