MineClone2/mods/ITEMS/mcl_core
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
..
locale Fix some template.txt 2020-05-05 21:02:48 +02:00
schematics Remove mcl_imitation_mode 2019-03-01 18:04:43 +01:00
sounds Convert all sounds (except music) to mono 2017-11-13 01:24:24 +01:00
textures Use fallback grass color for unknown values 2019-12-17 02:01:34 +01:00
crafting.lua Make bark nodes usable as fuel 2020-04-08 13:15:22 +02:00
craftitems.lua Bump golden apple hunger points to 20 2020-03-12 02:35:02 +01:00
depends.txt Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
description.txt
functions.lua Check if there is room for tree to grow 2020-05-23 19:37:02 +02:00
init.lua More mcl_core refactoring 2017-07-07 16:52:28 +02:00
mod.conf
nodes_base.lua Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
nodes_cactuscane.lua Change blast resistance of nodes in mcl_core 2020-04-17 20:47:12 +02:00
nodes_climb.lua Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
nodes_glass.lua Change blast resistance of nodes in mcl_core 2020-04-17 20:47:12 +02:00
nodes_liquid.lua Change blast resistance of nodes in mcl_core 2020-04-17 20:47:12 +02:00
nodes_misc.lua Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
nodes_trees.lua Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
README.txt Grow proper acacia tree from acacia saplings 2017-05-26 02:36:25 +02:00

MineClone 2 core mod
====================
Originally forked from Minetest Game's default mod in the distant past.

License information
===================

License of source code:
-----------------------
Copyright (C) 2011-2012 celeron55, Perttu Ahola <celeron55@gmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

License of all textures and sounds
----------------------------------
MIT License.

The textures are taken from the Minecraft resource pack “Faithful 1.11” by Vattic and
xMrVizzy and contributers.

Sounds
======
All sounds included in this mod are under the MIT License.
The other sounds used in this mod can be found in CORE/mcl_sounds.

http://www.gnu.org/licenses/lgpl-2.1.html

License of everything not listed here
-------------------------------------
celeron55, Perttu Ahola <celeron55@gmail.com>
CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0/>