{
	"type": "minecraft:random_patch",
	"config": {
		"tries": 150,
		"xz_spread": 7,
		"y_spread": 3,
		"feature": {
			"feature": {
				"type": "minecraft:simple_block",
				"config": {
					"to_place": {
						"type": "minecraft:weighted_state_provider",
						"entries": [
							{
								"weight": 1,
								"data": {
									"Name": "minecraft:brain_coral",
									"Properties": {
										"half": "lower"
									}
								}
							},
							{
								"weight": 5,
								"data": {
									"Name": "minecraft:fire_coral"
								}
							}
						]
					}
				}
			},
			"placement": [
				{
					"type": "minecraft:block_predicate_filter",
					"predicate": {
						"type": "minecraft:all_of",
						"predicates": [
							{
								"type": "minecraft:matching_blocks",
								"offset": [
									0,
									0,
									0
								],
								"blocks": "minecraft:water"
							},
							{
								"type": "minecraft:matching_blocks",
								"offset": [
									0,
									-1,
									0
								],
								"blocks": [
									"minecraft:mud",
									"minecraft:nether_wart_block",
									"minecraft:crimson_hyphae",
									"minecraft:soul_soil"
								]
							}
						]
					}
				}
			]
		}
	}
}
