MineClone2/mods
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
..
CORE Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
ENTITIES Add a delay before mobs start to suffocate 2020-05-13 22:15:46 +02:00
ENVIRONMENT Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
HELP Fix some template.txt 2020-05-05 21:02:48 +02:00
HUD Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
ITEMS Check if there is room for tree to grow 2020-05-23 19:37:02 +02:00
MAPGEN Translate In French 2020-05-03 22:39:07 +02:00
MISC Translate In French 2020-05-03 22:39:07 +02:00
PLAYER Update incomplete license information and credits 2020-05-11 17:18:04 +02:00