+ deco_type = "schematic",
+ place_on = {"default:dirt_with_grass", "default:dirt"},
+ sidelen = 80,
+ fill_ratio = 0.09,
+ biomes = {"rainforest", "rainforest_swamp"},
+ y_min = 0,
+ y_max = 31000,
+ schematic = minetest.get_modpath("default").."/schematics/jungle_tree.mts",
+ flags = "place_center_x, place_center_z",
+ rotation = "random",
+ })
+
+ minetest.register_decoration({
+ deco_type = "schematic",
+ place_on = {"default:dirt_with_grass", "default:dirt"},
+ sidelen = 80,
+ fill_ratio = 0.01,
+ biomes = {"rainforest", "rainforest_swamp"},
+ y_min = 1,
+ y_max = 31000,
+ schematic = {
+ size = { x = 3, y = 3, z = 1},
+ data = {
+ { name = "air", prob = 0 },
+ { name = "air", prob = 0 },
+ { name = "air", prob = 0 },
+ { name = "default:jungletree", param2 = 12, prob = 191 },
+ { name = "default:jungletree", param2 = 12 },
+ { name = "default:jungletree", param2 = 12, prob = 127 },
+ { name = "air", prob = 0 },
+ { name = "flowers:mushroom_brown", prob = 127 },
+ { name = "air", prob = 0 },
+ },
+ },
+ flags = "place_center_x",
+ rotation = "random",
+ })
+
+ -- Taiga and temperate coniferous forest pine tree and log
+
+ minetest.register_decoration({
+ deco_type = "schematic",
+ place_on = {"default:dirt_with_snow", "default:dirt_with_grass"},