{
	"feature": {
		"type": "minecraft:random_selector",
		"config": {
			"features": [
				{
					"chance": 0.25,
					"feature": {
						"feature": "cavernous:biomes/lush/marshy/roots/n",
						"placement": []
					}
				},
				{
					"chance": 0.25,
					"feature": {
						"feature": "cavernous:biomes/lush/marshy/roots/e",
						"placement": []
					}
				},
				{
					"chance": 0.25,
					"feature": {
						"feature": "cavernous:biomes/lush/marshy/roots/s",
						"placement": []
					}
				}
			],
			"default": {
				"feature": "cavernous:biomes/lush/marshy/roots/w",
				"placement": []
			}
		}
	},
	"placement": [
		{
			"type": "minecraft:count",
			"count": 100
		},
		{
			"type": "minecraft:count",
			"count": 20
		},
		{
			"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:matching_blocks",
						"offset": [
							0,
							1,
							0
						],
						"blocks": [
							"minecraft:mangrove_roots"
						]
					},
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							-1,
							0
						],
						"blocks": [
							"minecraft:air"
						]
					}
				]
			},
			"allowed_search_condition": {
				"type": "minecraft:true"
			}
		}
	]
}
