VoxeLibre/mods/ITEMS
Elias Åström 2e79f1f0ed Check if there is room for tree to grow
Previously tree saplings would grow regardless of the blocks above it.
This could be abused to destroy bedrock and other nodes.

To solve this, checks are added for nodes around the trees.  The volume
checked depends on the tree type.  The volume for each tree has been set
so reject trees where branches would grow into other nodes.  Some nodes
types like torches, plants and wood are ignored in the checks.

Saplings in a 2x2 formation will grow into normal trees if there is no
room for a huge tree.  Oak trees has separate checks for balloon oak
trees and normal oak trees, if there is no room for a balloon oak, it
becomes a normal oak tree.
2020-05-23 19:37:02 +02:00
..
mcl_anvils Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_armor Translate In French 2020-05-05 21:02:21 +02:00
mcl_armor_stand Translate In French 2020-05-03 22:39:07 +02:00
mcl_banners Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
mcl_beds Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_books Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_bows Translate In French 2020-05-03 22:39:07 +02:00
mcl_buckets Translate In French 2020-05-05 21:02:21 +02:00
mcl_cake Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_cauldrons Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_chests Translate In French 2020-05-05 21:02:21 +02:00
mcl_clock Translate In French 2020-05-03 22:39:07 +02:00
mcl_cocoas Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_colorblocks Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_compass Translate In French 2020-05-03 22:39:07 +02:00
mcl_core Check if there is room for tree to grow 2020-05-23 19:37:02 +02:00
mcl_crafting_table Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_doors Fix redstone dust climbing up doors, and fix redstone dust not turning off when redstone torch is destroyed through the destruction of an attached block 2020-05-13 21:11:17 +02:00
mcl_dye Translate In French 2020-05-05 21:02:21 +02:00
mcl_end Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_farming Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_fences Translate In French 2020-05-03 22:39:07 +02:00
mcl_fire Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
mcl_fishing Translate In French 2020-05-03 22:39:07 +02:00
mcl_flowerpots Translate In French 2020-05-03 22:39:07 +02:00
mcl_flowers Translate In French 2020-05-03 22:39:07 +02:00
mcl_furnaces Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
mcl_heads Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
mcl_hoppers Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_itemframes Translate In French 2020-05-03 22:39:07 +02:00
mcl_jukebox Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
mcl_maps Translate In French 2020-05-03 22:39:07 +02:00
mcl_mobitems Translate In French 2020-05-03 22:39:07 +02:00
mcl_mobspawners Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_monster_eggs Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_mushrooms Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_nether Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_ocean Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_portals Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
mcl_potions Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
mcl_signs Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
mcl_sponges Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_stairs Translate In French 2020-05-05 21:02:21 +02:00
mcl_throwing Translate In French 2020-05-03 22:39:07 +02:00
mcl_tnt Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_tools Translate In French 2020-05-03 22:39:07 +02:00
mcl_torches Translate In French 2020-05-03 22:39:07 +02:00
mcl_totems German translation: mcl_signs to xpanes 2019-03-16 00:07:44 +01:00
mcl_walls Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mcl_wool Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
mclx_core Translate In French 2020-05-03 22:39:07 +02:00
mclx_fences Translate In French 2020-05-03 22:39:07 +02:00
mclx_stairs Translate In French 2020-05-05 21:02:21 +02:00
REDSTONE Fix redstone dust climbing up doors, and fix redstone dust not turning off when redstone torch is destroyed through the destruction of an attached block 2020-05-13 21:11:17 +02:00
screwdriver Translate In French 2020-05-03 22:39:07 +02:00
xpanes Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
modpack.conf Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00