{
	"biomes": [
		"minecraft:badlands"
	],
	"rule": {
		"sequence": [
			{
				"sequence": [
					{
						"type": "minecraft:condition",
						"if_true": {
							"offset": 0,
							"add_surface_depth": false,
							"secondary_depth_range": 0,
							"type": "minecraft:stone_depth",
							"surface_type": "floor"
						},
						"then_run": {
							"sequence": [
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": 0,
										"anchor": {
											"absolute": 256
										},
										"type": "minecraft:y_above",
										"add_stone_depth": false
									},
									"then_run": {
										"result_state": {
											"Name": "minecraft:orange_terracotta"
										},
										"type": "minecraft:block"
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": 1,
										"anchor": {
											"absolute": 74
										},
										"type": "minecraft:y_above",
										"add_stone_depth": true
									},
									"then_run": {
										"sequence": [
											{
												"type": "minecraft:condition",
												"if_true": {
													"min_threshold": -0.909,
													"max_threshold": -0.5454,
													"noise": "minecraft:surface",
													"type": "minecraft:noise_threshold"
												},
												"then_run": {
													"result_state": {
														"Name": "minecraft:terracotta"
													},
													"type": "minecraft:block"
												}
											},
											{
												"type": "minecraft:condition",
												"if_true": {
													"min_threshold": -0.1818,
													"max_threshold": 0.1818,
													"noise": "minecraft:surface",
													"type": "minecraft:noise_threshold"
												},
												"then_run": {
													"result_state": {
														"Name": "minecraft:terracotta"
													},
													"type": "minecraft:block"
												}
											},
											{
												"type": "minecraft:condition",
												"if_true": {
													"min_threshold": 0.5454,
													"max_threshold": 0.909,
													"noise": "minecraft:surface",
													"type": "minecraft:noise_threshold"
												},
												"then_run": {
													"result_state": {
														"Name": "minecraft:terracotta"
													},
													"type": "minecraft:block"
												}
											},
											{
												"type": "minecraft:bandlands"
											}
										],
										"type": "minecraft:sequence"
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": 0,
										"offset": -1,
										"type": "minecraft:water",
										"add_stone_depth": false
									},
									"then_run": {
										"sequence": [
											{
												"type": "minecraft:condition",
												"if_true": {
													"offset": 0,
													"add_surface_depth": false,
													"secondary_depth_range": 0,
													"type": "minecraft:stone_depth",
													"surface_type": "ceiling"
												},
												"then_run": {
													"result_state": {
														"Name": "minecraft:red_sandstone"
													},
													"type": "minecraft:block"
												}
											},
											{
												"result_state": {
													"Name": "minecraft:red_sand"
												},
												"type": "minecraft:block"
											}
										],
										"type": "minecraft:sequence"
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"invert": {
											"type": "minecraft:hole"
										},
										"type": "minecraft:not"
									},
									"then_run": {
										"result_state": {
											"Name": "minecraft:orange_terracotta"
										},
										"type": "minecraft:block"
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": -1,
										"offset": -6,
										"type": "minecraft:water",
										"add_stone_depth": true
									},
									"then_run": {
										"result_state": {
											"Name": "minecraft:white_terracotta"
										},
										"type": "minecraft:block"
									}
								},
								{
									"sequence": [
										{
											"type": "minecraft:condition",
											"if_true": {
												"offset": 0,
												"add_surface_depth": false,
												"secondary_depth_range": 0,
												"type": "minecraft:stone_depth",
												"surface_type": "ceiling"
											},
											"then_run": {
												"result_state": {
													"Name": "minecraft:stone"
												},
												"type": "minecraft:block"
											}
										},
										{
											"result_state": {
												"Name": "minecraft:gravel"
											},
											"type": "minecraft:block"
										}
									],
									"type": "minecraft:sequence"
								}
							],
							"type": "minecraft:sequence"
						}
					},
					{
						"type": "minecraft:condition",
						"if_true": {
							"surface_depth_multiplier": -1,
							"anchor": {
								"absolute": %SL+1%
							},
							"type": "minecraft:y_above",
							"add_stone_depth": true
						},
						"then_run": {
							"sequence": [
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": 0,
										"anchor": {
											"absolute": %SL+1%
										},
										"type": "minecraft:y_above",
										"add_stone_depth": false
									},
									"then_run": {
										"type": "minecraft:condition",
										"if_true": {
											"invert": {
												"surface_depth_multiplier": 1,
												"anchor": {
													"absolute": 74
												},
												"type": "minecraft:y_above",
												"add_stone_depth": true
											},
											"type": "minecraft:not"
										},
										"then_run": {
											"result_state": {
												"Name": "minecraft:orange_terracotta"
											},
											"type": "minecraft:block"
										}
									}
								},
								{
									"type": "minecraft:bandlands"
								}
							],
							"type": "minecraft:sequence"
						}
					},
					{
						"type": "minecraft:condition",
						"if_true": {
							"offset": 0,
							"add_surface_depth": true,
							"secondary_depth_range": 0,
							"type": "minecraft:stone_depth",
							"surface_type": "floor"
						},
						"then_run": {
							"type": "minecraft:condition",
							"if_true": {
								"surface_depth_multiplier": -1,
								"offset": -6,
								"type": "minecraft:water",
								"add_stone_depth": true
							},
							"then_run": {
								"result_state": {
									"Name": "minecraft:white_terracotta"
								},
								"type": "minecraft:block"
							}
						}
					}
				],
				"type": "minecraft:sequence"
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": false,
					"secondary_depth_range": 0,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"type": "minecraft:condition",
					"if_true": {
						"surface_depth_multiplier": 0,
						"offset": -1,
						"type": "minecraft:water",
						"add_stone_depth": false
					},
					"then_run": {
						"type": "minecraft:condition",
						"if_true": {
							"surface_depth_multiplier": 0,
							"offset": 0,
							"type": "minecraft:water",
							"add_stone_depth": false
						},
						"then_run": {
							"result_state": {
								"Properties": {
									"snowy": "false"
								},
								"Name": "minecraft:grass_block"
							},
							"type": "minecraft:block"
						}
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": false,
					"secondary_depth_range": 0,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"type": "minecraft:condition",
					"if_true": {
						"surface_depth_multiplier": 0,
						"offset": -1,
						"type": "minecraft:water",
						"add_stone_depth": false
					},
					"then_run": {
						"result_state": {
							"Name": "minecraft:dirt"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"surface_depth_multiplier": -1,
					"offset": -6,
					"type": "minecraft:water",
					"add_stone_depth": true
				},
				"then_run": {
					"type": "minecraft:condition",
					"if_true": {
						"offset": 0,
						"add_surface_depth": true,
						"secondary_depth_range": 0,
						"type": "minecraft:stone_depth",
						"surface_type": "floor"
					},
					"then_run": {
						"result_state": {
							"Name": "minecraft:dirt"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": false,
					"secondary_depth_range": 0,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"type": "minecraft:condition",
					"if_true": {
						"offset": 0,
						"add_surface_depth": false,
						"secondary_depth_range": 0,
						"type": "minecraft:stone_depth",
						"surface_type": "ceiling"
					},
					"then_run": {
						"result_state": {
							"Name": "minecraft:stone"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": false,
					"secondary_depth_range": 0,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"result_state": {
						"Name": "minecraft:gravel"
					},
					"type": "minecraft:block"
				}
			},
			{
				"sequence": [
					{
						"type": "minecraft:condition",
						"if_true": {
							"offset": 0,
							"add_surface_depth": false,
							"secondary_depth_range": 0,
							"type": "minecraft:stone_depth",
							"surface_type": "floor"
						},
						"then_run": {
							"sequence": [
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": 0,
										"anchor": {
											"absolute": 256
										},
										"type": "minecraft:y_above",
										"add_stone_depth": false
									},
									"then_run": {
										"result_state": {
											"Name": "minecraft:orange_terracotta"
										},
										"type": "minecraft:block"
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": 1,
										"anchor": {
											"absolute": 74
										},
										"type": "minecraft:y_above",
										"add_stone_depth": true
									},
									"then_run": {
										"sequence": [
											{
												"type": "minecraft:condition",
												"if_true": {
													"min_threshold": -0.909,
													"max_threshold": -0.5454,
													"noise": "minecraft:surface",
													"type": "minecraft:noise_threshold"
												},
												"then_run": {
													"result_state": {
														"Name": "minecraft:terracotta"
													},
													"type": "minecraft:block"
												}
											},
											{
												"type": "minecraft:condition",
												"if_true": {
													"min_threshold": -0.1818,
													"max_threshold": 0.1818,
													"noise": "minecraft:surface",
													"type": "minecraft:noise_threshold"
												},
												"then_run": {
													"result_state": {
														"Name": "minecraft:terracotta"
													},
													"type": "minecraft:block"
												}
											},
											{
												"type": "minecraft:condition",
												"if_true": {
													"min_threshold": 0.5454,
													"max_threshold": 0.909,
													"noise": "minecraft:surface",
													"type": "minecraft:noise_threshold"
												},
												"then_run": {
													"result_state": {
														"Name": "minecraft:terracotta"
													},
													"type": "minecraft:block"
												}
											},
											{
												"type": "minecraft:bandlands"
											}
										],
										"type": "minecraft:sequence"
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": 0,
										"offset": -1,
										"type": "minecraft:water",
										"add_stone_depth": false
									},
									"then_run": {
										"sequence": [
											{
												"type": "minecraft:condition",
												"if_true": {
													"offset": 0,
													"add_surface_depth": false,
													"secondary_depth_range": 0,
													"type": "minecraft:stone_depth",
													"surface_type": "ceiling"
												},
												"then_run": {
													"result_state": {
														"Name": "minecraft:red_sandstone"
													},
													"type": "minecraft:block"
												}
											},
											{
												"result_state": {
													"Name": "minecraft:red_sand"
												},
												"type": "minecraft:block"
											}
										],
										"type": "minecraft:sequence"
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"invert": {
											"type": "minecraft:hole"
										},
										"type": "minecraft:not"
									},
									"then_run": {
										"result_state": {
											"Name": "minecraft:orange_terracotta"
										},
										"type": "minecraft:block"
									}
								},
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": -1,
										"offset": -6,
										"type": "minecraft:water",
										"add_stone_depth": true
									},
									"then_run": {
										"result_state": {
											"Name": "minecraft:white_terracotta"
										},
										"type": "minecraft:block"
									}
								},
								{
									"sequence": [
										{
											"type": "minecraft:condition",
											"if_true": {
												"offset": 0,
												"add_surface_depth": false,
												"secondary_depth_range": 0,
												"type": "minecraft:stone_depth",
												"surface_type": "ceiling"
											},
											"then_run": {
												"result_state": {
													"Name": "minecraft:stone"
												},
												"type": "minecraft:block"
											}
										},
										{
											"result_state": {
												"Name": "minecraft:gravel"
											},
											"type": "minecraft:block"
										}
									],
									"type": "minecraft:sequence"
								}
							],
							"type": "minecraft:sequence"
						}
					},
					{
						"type": "minecraft:condition",
						"if_true": {
							"surface_depth_multiplier": -1,
							"anchor": {
								"absolute": %SL+1%
							},
							"type": "minecraft:y_above",
							"add_stone_depth": true
						},
						"then_run": {
							"sequence": [
								{
									"type": "minecraft:condition",
									"if_true": {
										"surface_depth_multiplier": 0,
										"anchor": {
											"absolute": %SL+1%
										},
										"type": "minecraft:y_above",
										"add_stone_depth": false
									},
									"then_run": {
										"type": "minecraft:condition",
										"if_true": {
											"invert": {
												"surface_depth_multiplier": 1,
												"anchor": {
													"absolute": 74
												},
												"type": "minecraft:y_above",
												"add_stone_depth": true
											},
											"type": "minecraft:not"
										},
										"then_run": {
											"result_state": {
												"Name": "minecraft:orange_terracotta"
											},
											"type": "minecraft:block"
										}
									}
								},
								{
									"type": "minecraft:bandlands"
								}
							],
							"type": "minecraft:sequence"
						}
					},
					{
						"type": "minecraft:condition",
						"if_true": {
							"offset": 0,
							"add_surface_depth": true,
							"secondary_depth_range": 0,
							"type": "minecraft:stone_depth",
							"surface_type": "floor"
						},
						"then_run": {
							"type": "minecraft:condition",
							"if_true": {
								"surface_depth_multiplier": -1,
								"offset": -6,
								"type": "minecraft:water",
								"add_stone_depth": true
							},
							"then_run": {
								"result_state": {
									"Name": "minecraft:white_terracotta"
								},
								"type": "minecraft:block"
							}
						}
					}
				],
				"type": "minecraft:sequence"
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": false,
					"secondary_depth_range": 0,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"type": "minecraft:condition",
					"if_true": {
						"surface_depth_multiplier": 0,
						"offset": -1,
						"type": "minecraft:water",
						"add_stone_depth": false
					},
					"then_run": {
						"type": "minecraft:condition",
						"if_true": {
							"surface_depth_multiplier": 0,
							"offset": 0,
							"type": "minecraft:water",
							"add_stone_depth": false
						},
						"then_run": {
							"result_state": {
								"Properties": {
									"snowy": "false"
								},
								"Name": "minecraft:grass_block"
							},
							"type": "minecraft:block"
						}
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": false,
					"secondary_depth_range": 0,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"type": "minecraft:condition",
					"if_true": {
						"surface_depth_multiplier": 0,
						"offset": -1,
						"type": "minecraft:water",
						"add_stone_depth": false
					},
					"then_run": {
						"result_state": {
							"Name": "minecraft:dirt"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"surface_depth_multiplier": -1,
					"offset": -6,
					"type": "minecraft:water",
					"add_stone_depth": true
				},
				"then_run": {
					"type": "minecraft:condition",
					"if_true": {
						"offset": 0,
						"add_surface_depth": true,
						"secondary_depth_range": 0,
						"type": "minecraft:stone_depth",
						"surface_type": "floor"
					},
					"then_run": {
						"result_state": {
							"Name": "minecraft:dirt"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": false,
					"secondary_depth_range": 0,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"type": "minecraft:condition",
					"if_true": {
						"offset": 0,
						"add_surface_depth": false,
						"secondary_depth_range": 0,
						"type": "minecraft:stone_depth",
						"surface_type": "ceiling"
					},
					"then_run": {
						"result_state": {
							"Name": "minecraft:stone"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"offset": 0,
					"add_surface_depth": false,
					"secondary_depth_range": 0,
					"type": "minecraft:stone_depth",
					"surface_type": "floor"
				},
				"then_run": {
					"result_state": {
						"Name": "minecraft:gravel"
					},
					"type": "minecraft:block"
				}
			}
		],
		"type": "minecraft:sequence"
	}
}
