{
	"biomes": [
		"minecraft:basalt_deltas"
	],
	"rule": {
		"sequence": [
			{
				"sequence": [
					{
						"type": "minecraft:condition",
						"if_true": {
							"offset": 0,
							"add_surface_depth": true,
							"secondary_depth_range": 0,
							"type": "minecraft:stone_depth",
							"surface_type": "ceiling"
						},
						"then_run": {
							"result_state": {
								"Properties": {
									"axis": "y"
								},
								"Name": "minecraft:basalt"
							},
							"type": "minecraft:block"
						}
					},
					{
						"type": "minecraft:condition",
						"if_true": {
							"offset": 0,
							"add_surface_depth": true,
							"secondary_depth_range": 0,
							"type": "minecraft:stone_depth",
							"surface_type": "floor"
						},
						"then_run": {
							"sequence": [
								{
									"type": "minecraft:condition",
									"if_true": {
										"min_threshold": -0.012,
										"max_threshold": 3.0E7,
										"noise": "minecraft:patch",
										"type": "minecraft:noise_threshold"
									},
									"then_run": {
										"type": "minecraft:condition",
										"if_true": {
											"surface_depth_multiplier": 0,
											"anchor": {
												"absolute": %SL-1%
											},
											"type": "minecraft:y_above",
											"add_stone_depth": true
										},
										"then_run": {
											"type": "minecraft:condition",
											"if_true": {
												"invert": {
													"surface_depth_multiplier": 0,
													"anchor": {
														"absolute": %SL+4%
													},
													"type": "minecraft:y_above",
													"add_stone_depth": true
												},
												"type": "minecraft:not"
											},
											"then_run": {
												"result_state": {
													"Name": "minecraft:gravel"
												},
												"type": "minecraft:block"
											}
										}
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"min_threshold": 0.0,
										"max_threshold": 3.0E7,
										"noise": "minecraft:nether_state_selector",
										"type": "minecraft:noise_threshold"
									},
									"then_run": {
										"result_state": {
											"Properties": {
												"axis": "y"
											},
											"Name": "minecraft:basalt"
										},
										"type": "minecraft:block"
									}
								},
								{
									"result_state": {
										"Name": "minecraft:blackstone"
									},
									"type": "minecraft:block"
								}
							],
							"type": "minecraft:sequence"
						}
					}
				],
				"type": "minecraft:sequence"
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"surface_depth_multiplier": 1,
					"anchor": {
						"below_top": 5
					},
					"type": "minecraft:y_above",
					"add_stone_depth": true
				},
				"then_run": {
					"result_state": {
						"Name": "bygone:byslate"
					},
					"type": "minecraft:block"
				}
			},
			{
				"result_state": {
					"Name": "bygone:bystone"
				},
				"type": "minecraft:block"
			},
			{
				"sequence": [
					{
						"type": "minecraft:condition",
						"if_true": {
							"offset": 0,
							"add_surface_depth": true,
							"secondary_depth_range": 0,
							"type": "minecraft:stone_depth",
							"surface_type": "ceiling"
						},
						"then_run": {
							"result_state": {
								"Properties": {
									"axis": "y"
								},
								"Name": "minecraft:basalt"
							},
							"type": "minecraft:block"
						}
					},
					{
						"type": "minecraft:condition",
						"if_true": {
							"offset": 0,
							"add_surface_depth": true,
							"secondary_depth_range": 0,
							"type": "minecraft:stone_depth",
							"surface_type": "floor"
						},
						"then_run": {
							"sequence": [
								{
									"type": "minecraft:condition",
									"if_true": {
										"min_threshold": -0.012,
										"max_threshold": 3.0E7,
										"noise": "minecraft:patch",
										"type": "minecraft:noise_threshold"
									},
									"then_run": {
										"type": "minecraft:condition",
										"if_true": {
											"surface_depth_multiplier": 0,
											"anchor": {
												"absolute": %SL-1%
											},
											"type": "minecraft:y_above",
											"add_stone_depth": true
										},
										"then_run": {
											"type": "minecraft:condition",
											"if_true": {
												"invert": {
													"surface_depth_multiplier": 0,
													"anchor": {
														"absolute": %SL+4%
													},
													"type": "minecraft:y_above",
													"add_stone_depth": true
												},
												"type": "minecraft:not"
											},
											"then_run": {
												"result_state": {
													"Name": "minecraft:gravel"
												},
												"type": "minecraft:block"
											}
										}
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"min_threshold": 0.0,
										"max_threshold": 3.0E7,
										"noise": "minecraft:nether_state_selector",
										"type": "minecraft:noise_threshold"
									},
									"then_run": {
										"result_state": {
											"Properties": {
												"axis": "y"
											},
											"Name": "minecraft:basalt"
										},
										"type": "minecraft:block"
									}
								},
								{
									"result_state": {
										"Name": "minecraft:blackstone"
									},
									"type": "minecraft:block"
								}
							],
							"type": "minecraft:sequence"
						}
					}
				],
				"type": "minecraft:sequence"
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"surface_depth_multiplier": 1,
					"anchor": {
						"below_top": 5
					},
					"type": "minecraft:y_above",
					"add_stone_depth": true
				},
				"then_run": {
					"result_state": {
						"Name": "bygone:byslate"
					},
					"type": "minecraft:block"
				}
			},
			{
				"result_state": {
					"Name": "bygone:bystone"
				},
				"type": "minecraft:block"
			}
		],
		"type": "minecraft:sequence"
	}
}
