{
	"biomes": [
		"bygone:primordial_beach"
	],
	"rule": {
		"sequence": [
			{
				"type": "minecraft:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": true,
					"secondary_depth_range": 6,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"sequence": [
						{
							"type": "minecraft:condition",
							"if_true": {
								"min_threshold": -0.0125,
								"max_threshold": 0.0125,
								"noise": "minecraft:calcite",
								"type": "minecraft:noise_threshold"
							},
							"then_run": {
								"result_state": {
									"Name": "bygone:malachite"
								},
								"type": "minecraft:block"
							}
						},
						{
							"result_state": {
								"Name": "bygone:primordial_sand"
							},
							"type": "minecraft:block"
						}
					],
					"type": "minecraft: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": {
							"sequence": [
								{
									"result_state": {
										"Name": "bygone:oceanstone"
									},
									"type": "minecraft:block"
								}
							],
							"type": "minecraft:sequence"
						}
					},
					{
						"result_state": {
							"Name": "bygone:oceanstone"
						},
						"type": "minecraft:block"
					}
				],
				"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:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": true,
					"secondary_depth_range": 6,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"sequence": [
						{
							"type": "minecraft:condition",
							"if_true": {
								"min_threshold": -0.0125,
								"max_threshold": 0.0125,
								"noise": "minecraft:calcite",
								"type": "minecraft:noise_threshold"
							},
							"then_run": {
								"result_state": {
									"Name": "bygone:malachite"
								},
								"type": "minecraft:block"
							}
						},
						{
							"result_state": {
								"Name": "bygone:primordial_sand"
							},
							"type": "minecraft:block"
						}
					],
					"type": "minecraft: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": {
							"sequence": [
								{
									"result_state": {
										"Name": "bygone:oceanstone"
									},
									"type": "minecraft:block"
								}
							],
							"type": "minecraft:sequence"
						}
					},
					{
						"result_state": {
							"Name": "bygone:oceanstone"
						},
						"type": "minecraft:block"
					}
				],
				"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"
	}
}
