{
	"biomes": [
		"eternal_starlight:starlit_sea"
	],
	"rule": {
		"sequence": [
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"then_run": {
					"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": "eternal_starlight:dusted_gravel"
							},
							"type": "minecraft:block"
						}
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"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": "eternal_starlight:dusted_gravel"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"then_run": {
					"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": "eternal_starlight:nightfall_grass_block"
								},
								"type": "minecraft:block"
							}
						}
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"then_run": {
					"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": "eternal_starlight:nightfall_dirt"
							},
							"type": "minecraft:block"
						}
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"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": "eternal_starlight:nightfall_dirt"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"true_at_and_below": {
						"absolute": 0
					},
					"false_at_and_above": {
						"absolute": 8
					},
					"type": "minecraft:vertical_gradient",
					"random_name": "minecraft:stone"
				},
				"then_run": {
					"result_state": {
						"Name": "eternal_starlight:voidstone"
					},
					"type": "minecraft:block"
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"then_run": {
					"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": "eternal_starlight:dusted_gravel"
							},
							"type": "minecraft:block"
						}
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"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": "eternal_starlight:dusted_gravel"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"then_run": {
					"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": "eternal_starlight:nightfall_grass_block"
								},
								"type": "minecraft:block"
							}
						}
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"then_run": {
					"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": "eternal_starlight:nightfall_dirt"
							},
							"type": "minecraft:block"
						}
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"type": "eternal_starlight:on_surface"
				},
				"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": "eternal_starlight:nightfall_dirt"
						},
						"type": "minecraft:block"
					}
				}
			},
			{
				"type": "minecraft:condition",
				"if_true": {
					"true_at_and_below": {
						"absolute": 0
					},
					"false_at_and_above": {
						"absolute": 8
					},
					"type": "minecraft:vertical_gradient",
					"random_name": "minecraft:stone"
				},
				"then_run": {
					"result_state": {
						"Name": "eternal_starlight:voidstone"
					},
					"type": "minecraft:block"
				}
			}
		],
		"type": "minecraft:sequence"
	}
}
