-
Fixed the transformation of pale leaves into blocks.
Note: I had completely forgotten about the pale garden lol.
-
Now the creaking heart is considered a log and an ordinary tree can fall together, but if the player place the heart himself, it will not be natural and will not be considered a block of tree.
-
Dev note: Now the placement of the leaves block is not individually linked to each id, a macro is used to place the leaves. This means that leaves from mods should be supported by default.
This is a stripped-down version 2.0 that does not include stained leaves!
- Added a new mechanic — falling tree under gravity;
Added support for stained leaves depending on vanilla biomes;- Optimized the transformation of a tree into a falling tree;
- Fixed bugs with the initial falling tree block.
- Added a new mechanic — falling tree under gravity;
- Added support for stained leaves depending on vanilla biomes;
- Optimized the transformation of a tree into a falling tree;
- Fixed bugs with the initial falling tree block.
For devs: there are 5 stained leaves in total (oak, jungle, acacia, dark_oak, mangrove leaves), by default they do not support other models from vanilla blockstates, you need to go to the physical_falling_trees/items/leaves.json
path in the file and change the paths to the models depending on your goals.
-
Version 1.6.0 was deleted because there were a lot of bugs and the datapack did not work correctly.
-
One datapack for different versions!
-
Optimized the tree search;
-
Optimization of the game difficulty check;
-
Fixed the search for the hardest side;
-
Fixed the placing of blocks when transforming a tree into real blocks;
-
Fixed a bug where trees considered a layer of snow to be a solid block.
-
Support for any blocks, BUT so far without
blockstates
andnbt
, onlyid
.
All you need to do is add the block id to the
nether_logs
/logs
/base
/deform_blocks
/nether_leaves
/leaves
/others
block tags inphysics_of_falling_trees
namespace;
- Added the function of placing a tree for debug:
function physics_of_falling_trees:temp_tree {state:<a number from -1 to 3>}
- Version 1.6.0 was deleted because there were a lot of bugs and the datapack did not work correctly.
- One datapack for different versions!
- Optimized the tree search;
- Optimization of the game difficulty check;
- Fixed the search for the hardest side;
- Fixed the placing of blocks when transforming a tree into real blocks;
- Fixed a bug where trees considered a layer of snow to be a solid block.
- Support for any blocks, BUT so far without
blockstates
andnbt
, onlyid
.
All you need to do is add the block id to the
nether_logs
/logs
/base
/deform_blocks
/nether_leaves
/leaves
/others
block tags inphysics_of_falling_trees
namespace;
- Added the function of placing a tree for debug:
function physics_of_falling_trees:temp_tree {state:<a number from -1 to 3>}