{
	"feature": {
		"type": "minecraft:random_selector",
		"config": {
			"features": [
				{
					"chance": 0.1,
					"feature": {
						"feature": {
							"type": "minecraft:ore",
							"config": {
								"size": 12,
								"discard_chance_on_air_exposure": 1,
								"targets": [
									{
										"target": {
											"predicate_type": "minecraft:tag_match",
											"tag": "cavernous:stone_ore"
										},
										"state": {
											"Name": "minecraft:diamond_ore"
										}
									},
									{
										"target": {
											"predicate_type": "minecraft:tag_match",
											"tag": "cavernous:deepslate_ore"
										},
										"state": {
											"Name": "minecraft:deepslate_diamond_ore"
										}
									}
								]
							}
						},
						"placement": [
							{
								"type": "minecraft:rarity_filter",
								"chance": 10
							}
						]
					}
				},
				{
					"chance": 0.33,
					"feature": {
						"feature": {
							"type": "minecraft:ore",
							"config": {
								"size": 8,
								"discard_chance_on_air_exposure": 0.7,
								"targets": [
									{
										"target": {
											"predicate_type": "minecraft:tag_match",
											"tag": "cavernous:stone_ore"
										},
										"state": {
											"Name": "minecraft:diamond_ore"
										}
									},
									{
										"target": {
											"predicate_type": "minecraft:tag_match",
											"tag": "cavernous:deepslate_ore"
										},
										"state": {
											"Name": "minecraft:deepslate_diamond_ore"
										}
									}
								]
							}
						},
						"placement": []
					}
				}
			],
			"default": {
				"feature": {
					"type": "minecraft:ore",
					"config": {
						"size": 4,
						"discard_chance_on_air_exposure": 0.5,
						"targets": [
							{
								"target": {
									"predicate_type": "minecraft:tag_match",
									"tag": "cavernous:stone_ore"
								},
								"state": {
									"Name": "minecraft:diamond_ore"
								}
							},
							{
								"target": {
									"predicate_type": "minecraft:tag_match",
									"tag": "cavernous:deepslate_ore"
								},
								"state": {
									"Name": "minecraft:deepslate_diamond_ore"
								}
							}
						]
					}
				},
				"placement": []
			}
		}
	},
	"placement": [
		{
			"type": "minecraft:count",
			"count": 12
		},
		{
			"type": "minecraft:in_square"
		},
		{
			"type": "minecraft:height_range",
			"height": {
				"type": "minecraft:trapezoid",
				"min_inclusive": {
					"above_bottom": -80
				},
				"max_inclusive": {
					"above_bottom": 80
				}
			}
		},
		{
			"type": "minecraft:biome"
		}
	]
}
