minetest.register_biome({
	name = "geigarden",
	node_top = "ketchuptest_nodes:dirt_with_uranium_grass",
	depth_top = 1,
	node_filler = "ketchuptest_nodes:dirt",
	depth_filler = 3,
	node_riverbed = "ketchuptest_nodes:stone",
	depth_riverbed = 2,
	y_max = 31000,
	y_min = 4,
	heat_point = 70,
	humidity_point = 25,
})

minetest.register_ore({
	ore_type = "scatter",
	ore = "ketchuptest_nodes:uranium_ore",
	wherein = "ketchuptest_nodes:stone",
	biomes = {"geigarden"},
	clust_scarcity = 525*3,
	clust_num_ores = 6,
	clust_size = 5,
	y_min = -31000,
	y_max = 31000,
})

	minetest.register_decoration({
		deco_type = "schematic",
		place_on = "ketchuptest_nodes:dirt_with_uranium_grass",
		sidelen = 16,
		biomes = {"geigarden"},
		height = 2,
		y_min = 0,
		y_max = 31000,
		place_offset_y = 0,
		schematic = "mushroom_tree.mts",
		flags = "place_center_x, place_center_z, force_placement",
		rotation = "random",
	})

	minetest.register_ore({
		ore_type        = "scatter",
		ore             = "ketchuptest_nodes:nebula",
		wherein         = {"air"},
		clust_scarcity  = 24 * 24 * 24,
		clust_size      = 1,
		y_max           = 31000,
		y_min           = 128,
		noise_threshold = 0.0,
	})

minetest.register_biome({
	name = "sakura_forest",
	node_top = "ketchuptest_nodes:dirt_with_sakura_grass",
	depth_top = 1,
	node_filler = "ketchuptest_nodes:dirt",
	depth_filler = 3,
	node_riverbed = "ketchuptest_nodes:stone",
	depth_riverbed = 2,
	y_max = 31000,
	y_min = 4,
	heat_point = 30,
	humidity_point = 25,
})


	minetest.register_decoration({
		deco_type = "schematic",
		place_on = "ketchuptest_nodes:dirt_with_sakura_grass",
		sidelen = 16,
		biomes = {"sakura_forest"},
		height = 2,
		y_min = 0,
		y_max = 31000,
		place_offset_y = 0,
		schematic = "sakura_tree.mts",
		flags = "place_center_x, place_center_z, force_placement",
		rotation = "random",
	})

	minetest.register_decoration({
		decoration = "ketchuptest_nodes:leaves",
		deco_type = "simple",
		place_on = {"ketchuptest_nodes:dirt_with_grass", "ketchuptest_nodes:dirt_with_sakura_grass", "ketchuptest_nodes:dirt_with_uranium_grass"},
		sidelen = 16,
		fill_ratio = 0.008,
		biomes = {"forest", "sakura_forest", "geigarden"},
			noise_params = {
			offset = 0.01,
			scale = 0.008,
			spread = {x = 250, y = 250, z = 250},
			seed = 2,
			octaves = 3,
			persist = 0.65
		},
		y_min = 1,
		y_max = 31000,
	})

	minetest.register_decoration({
		decoration = "ketchuptest_nodes:nightshade",
		deco_type = "simple",
		place_on = {"ketchuptest_nodes:dirt_with_grass", "ketchuptest_nodes:dirt_with_sakura_grass"},
		sidelen = 16,
		fill_ratio = 0.008,
		biomes = {"forest", "sakura_forest"},
		noise_params = {
			offset = 0.01,
			scale = 0.008,
			spread = {x = 250, y = 250, z = 250},
			seed = 3,
			octaves = 3,
			persist = 0.65
		},
		y_min = 1,
		y_max = 31000,
	})

	minetest.register_decoration({
		deco_type = "schematic",
		place_on = "ketchuptest_nodes:dirt_with_grass",
		sidelen = 16,
		biomes = {"forest"},
		fill_ratio = 0.0008,
		height = 2,
		y_min = 0,
		y_max = 1000,
		place_offset_y = 0,
		schematic = "nightshade_tree.mts",
		flags = "place_center_x, place_center_z, force_placement",
		rotation = "random",
	})

	minetest.register_ore({
		ore_type        = "blob",
		ore             = "ketchuptest_nodes:marble",
		wherein         = {"ketchuptest_nodes:stone"},
		biomes = {"sakura_forest"},
		clust_scarcity  = 8 * 8 * 8,
		clust_size      = 8,
		y_max           = 31000,
		y_min           = 0,
		noise_threshold = 0.0,
		noise_params    = {
			offset = 0.5,
			scale = 0.2,
			spread = {x = 5, y = 5, z = 5},
			seed = 124,
			octaves = 1,
			persist = 0.0
		},
	})

minetest.register_biome({
	name = "ocean",
	node_top = "ketchuptest_nodes:pebbles",
	depth_top = 1,
	node_filler = "ketchuptest_nodes:pebbles",
	depth_filler = 3,
	node_riverbed = "ketchuptest_nodes:stone",
	depth_riverbed = 2,
	y_max = 3,
	y_min = -256,
	heat_point = 30,
	humidity_point = 25,
})

	minetest.register_decoration({
		deco_type = "simple",
		place_on = {"ketchuptest_nodes:pebbles"},
		sidelen = 4,
		noise_params = {
			offset = -4,
			scale = 4,
			spread = {x = 50, y = 50, z = 50},
			seed = 1,
			octaves = 3,
			persist = 0.7,
		},
		biomes = {
			"ocean",
		},
		y_max = -2,
		y_min = -8,
		flags = "force_placement",
		decoration = {
			"ketchuptest_nodes:coral", "ketchuptest_nodes:coral", "ketchuptest_nodes:coral", "ketchuptest_nodes:coral", "ketchuptest_nodes:coral", "ketchuptest_nodes:coral", "ketchuptest_nodes:coral", "ketchuptest_nodes:coral_with_h2omato",
		},
	})