@@ -1640,6 +1640,7 @@ function default.register_decorations()
1640
1640
name = " default:apple_log" ,
1641
1641
deco_type = " schematic" ,
1642
1642
place_on = {" default:dirt_with_grass" },
1643
+ place_offset_y = 1 ,
1643
1644
sidelen = 16 ,
1644
1645
noise_params = {
1645
1646
offset = 0.0018 ,
@@ -1655,6 +1656,8 @@ function default.register_decorations()
1655
1656
schematic = minetest .get_modpath (" default" ) .. " /schematics/apple_log.mts" ,
1656
1657
flags = " place_center_x" ,
1657
1658
rotation = " random" ,
1659
+ spawn_by = " default:dirt_with_grass" ,
1660
+ num_spawn_by = 8 ,
1658
1661
})
1659
1662
1660
1663
-- Emergent jungle tree
@@ -1705,7 +1708,8 @@ function default.register_decorations()
1705
1708
minetest .register_decoration ({
1706
1709
name = " default:jungle_log" ,
1707
1710
deco_type = " schematic" ,
1708
- place_on = {" default:dirt_with_rainforest_litter" , " default:dirt" },
1711
+ place_on = {" default:dirt_with_rainforest_litter" },
1712
+ place_offset_y = 1 ,
1709
1713
sidelen = 80 ,
1710
1714
fill_ratio = 0.005 ,
1711
1715
biomes = {" rainforest" , " rainforest_swamp" },
@@ -1714,6 +1718,8 @@ function default.register_decorations()
1714
1718
schematic = minetest .get_modpath (" default" ) .. " /schematics/jungle_log.mts" ,
1715
1719
flags = " place_center_x" ,
1716
1720
rotation = " random" ,
1721
+ spawn_by = " default:dirt_with_rainforest_litter" ,
1722
+ num_spawn_by = 8 ,
1717
1723
})
1718
1724
1719
1725
-- Taiga and temperate coniferous forest pine tree, small pine tree and log
@@ -1762,6 +1768,7 @@ function default.register_decorations()
1762
1768
name = " default:pine_log" ,
1763
1769
deco_type = " schematic" ,
1764
1770
place_on = {" default:dirt_with_snow" , " default:dirt_with_coniferous_litter" },
1771
+ place_offset_y = 1 ,
1765
1772
sidelen = 80 ,
1766
1773
fill_ratio = 0.0018 ,
1767
1774
biomes = {" taiga" , " coniferous_forest" , " floatland_coniferous_forest" },
@@ -1770,6 +1777,8 @@ function default.register_decorations()
1770
1777
schematic = minetest .get_modpath (" default" ) .. " /schematics/pine_log.mts" ,
1771
1778
flags = " place_center_x" ,
1772
1779
rotation = " random" ,
1780
+ spawn_by = {" default:dirt_with_snow" , " default:dirt_with_coniferous_litter" },
1781
+ num_spawn_by = 8 ,
1773
1782
})
1774
1783
1775
1784
-- Acacia tree and log
@@ -1799,6 +1808,7 @@ function default.register_decorations()
1799
1808
name = " default:acacia_log" ,
1800
1809
deco_type = " schematic" ,
1801
1810
place_on = {" default:dirt_with_dry_grass" },
1811
+ place_offset_y = 1 ,
1802
1812
sidelen = 16 ,
1803
1813
noise_params = {
1804
1814
offset = 0 ,
@@ -1814,6 +1824,8 @@ function default.register_decorations()
1814
1824
schematic = minetest .get_modpath (" default" ) .. " /schematics/acacia_log.mts" ,
1815
1825
flags = " place_center_x" ,
1816
1826
rotation = " random" ,
1827
+ spawn_by = " default:dirt_with_dry_grass" ,
1828
+ num_spawn_by = 8 ,
1817
1829
})
1818
1830
1819
1831
-- Aspen tree and log
@@ -1842,6 +1854,7 @@ function default.register_decorations()
1842
1854
name = " default:aspen_log" ,
1843
1855
deco_type = " schematic" ,
1844
1856
place_on = {" default:dirt_with_grass" },
1857
+ place_offset_y = 1 ,
1845
1858
sidelen = 16 ,
1846
1859
noise_params = {
1847
1860
offset = 0.0 ,
@@ -1857,6 +1870,8 @@ function default.register_decorations()
1857
1870
schematic = minetest .get_modpath (" default" ) .. " /schematics/aspen_log.mts" ,
1858
1871
flags = " place_center_x" ,
1859
1872
rotation = " random" ,
1873
+ spawn_by = " default:dirt_with_grass" ,
1874
+ num_spawn_by = 8 ,
1860
1875
})
1861
1876
1862
1877
-- Large cactus
0 commit comments