📖 About
So, this datapack really adds physical falling trees! Now, with any felled tree, it will try to fall, causing damage to all living entities in its path.
Features:
- Trees fall to the heavier side, but if the center of gravity is in the center of the tree axis, then the tree falls towards the player.
- The heavier side is calculated by the relative weight for the cardinal directions. The deforming blocks have 1, all the others have 3.
- The tree causes damage depending on it's falling speed.
- If there are bees in the nest of a cut tree, they will get angry at you.
- When the tree has fallen, the model will be lying for half a second before transforming into real blocks. But if a tree has been falling for less than half a second after being cut down, then it transforms instantly.
▶️ Demonstration
🧩 Add-ons
I will write in 24000000 hours
🔗 Extra Links
You can leave a comment on the PMC page!
Russian discord server of datapackers / Русский дискорд сервер датапакеров
Если вы датапакер, ищите адекватной помощи, полезных ресурсов и возможности поделиться проектами, то вам на СвинСоюз: Датапаки! Это сервер-ответвление от изначального заброшенного сервера ZeroCaty "СвинСоюз". Сейчас мы не имеем к нему никакого отношения.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 | ||||
| 22h ago | 1 |
- Trees now deal damage to all "new" mobs since version 1.21.6;
- Supports up to 26.2.
- Trees now deal damage to all "new" mobs since version 1.21.6;
- Supports up to 26.2.
- Trees now deal damage to all "new" mobs since version 1.21.6;
- Supports up to 26.2.
- Trees now deal damage to all "new" mobs since version 1.21.6;
- Supports up to 26.2.
- It now supports versions 1.21.9 to 1.21.11;
- Fixed a bug of ghost blocks if you are flattened by a tree and your spawn is far from this place. If you have ghost blocks in the world, then you need to cut down the tree next to them and they will automatically be removed;
- Translations of settings have been added to the resourcepack.
- It now supports versions 1.21.9 to 1.21.11;
- Fixed a bug of ghost blocks if you are flattened by a tree and your spawn is far from this place. If you have ghost blocks in the world, then you need to cut down the tree next to them and they will automatically be removed;
- Translations of settings have been added to the resourcepack.
- It now supports versions 1.21.9 to 1.21.11;
- Fixed a bug of ghost blocks if you are flattened by a tree and your spawn is far from this place. If you have ghost blocks in the world, then you need to cut down the tree next to them and they will automatically be removed;
- Translations of settings have been added to the resourcepack.
- It now supports versions 1.21.9 to 1.21.11;
- Fixed a bug of ghost blocks if you are flattened by a tree and your spawn is far from this place. If you have ghost blocks in the world, then you need to cut down the tree next to them and they will automatically be removed;
- Translations of settings have been added to the resourcepack.
- The limit of blocks for the falling tree has been increased to 800 (performance may decrease, I plan to rewrite the falling code in future versions);
- The tree will not start falling if the limit of blocks is reached (in case the tree is very large);
- Gravity increased by 2x (but still slower than the player);
- The placement of fallen tree blocks has been improved, now the chance of placement will be higher than the chance of dropping or "holes" appearing;
- Chat message that the datapack is loaded is disabled.
Bug fixes:
- Fixed a bug with the transition to the free fall of thick trees;
- Fixed bugs related to vertical falling.
- The limit of blocks for the falling tree has been increased to 800 (performance may decrease, I plan to rewrite the falling code in future versions);
- The tree will not start falling if the limit of blocks is reached (in case the tree is very large);
- Gravity increased by 2x (but still slower than the player);
- The placement of fallen tree blocks has been improved, now the chance of placement will be higher than the chance of dropping or "holes" appearing;
- Chat message that the datapack is loaded is disabled.
Bug fixes:
- Fixed a bug with the transition to the free fall of thick trees;
- Fixed bugs related to vertical falling.
- The limit of blocks for the falling tree has been increased to 800 (performance may decrease, I plan to rewrite the falling code in future versions);
- The tree will not start falling if the limit of blocks is reached (in case the tree is very large);
- Gravity increased by 2x (but still slower than the player);
- The placement of fallen tree blocks has been improved, now the chance of placement will be higher than the chance of dropping or "holes" appearing;
- Chat message that the datapack is loaded is disabled.
Bug fixes:
- Fixed a bug with the transition to the free fall of thick trees;
- Fixed bugs related to vertical falling.
- The limit of blocks for the falling tree has been increased to 800 (performance may decrease, I plan to rewrite the falling code in future versions);
- The tree will not start falling if the limit of blocks is reached (in case the tree is very large);
- Gravity increased by 2x (but still slower than the player);
- The placement of fallen tree blocks has been improved, now the chance of placement will be higher than the chance of dropping or "holes" appearing;
- Chat message that the datapack is loaded is disabled.
Bug fixes:
- Fixed a bug with the transition to the free fall of thick trees;
- Fixed bugs related to vertical falling.
- Just supports up to 1.21.7
- Description of packs improved
- Just supports up to 1.21.7
- Description of packs improved
- Fixed the sneak check. Now, from the mined wood block, the nearest player will additionally be checked for the absence of a sneak.
- The attached vines to the blocks will be replaced with air when the tree is cut down. This is done to reduce the number of sounds and particles of destroyed vines.
- Fixed the sneak check. Now, from the mined wood block, the nearest player will additionally be checked for the absence of a sneak.
- The attached vines to the blocks will be replaced with air when the tree is cut down. This is done to reduce the number of sounds and particles of destroyed vines.
- Added support for new blocks from 1.21.5 drop;
- There is support for the CraftMine Update April Fools snapshot!
Techinal part:
- The features of the test tree function have been expanded, use the
/function physics_of_falling_trees:temp_tree {state:-1}command to help.
- Added support for new blocks from 1.21.5 drop;
- There is support for the CraftMine Update April Fools snapshot!
- Now the color of the leaves in the non-vanilla biome will be the default as in the plains biome.
Techinal part:
- For non-vanilla biomes, the
#physics_of_falling_trees:biome_leaves_colorfunction tag has been added, with which you can add colors to custom biomes in your datapacks. - The format of the color defenition command is
execute if biome ~ ~ ~ <biome_id> run return run data modify storage midwut:main output set value <deciaml_color_format = R * 65536 + G * 256 + B>- The features of the test tree function have been expanded, use the
/function physics_of_falling_trees:temp_tree {state:-1}command to help.
- 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.
- 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.
- Fixed a error in the logs:
Unknown biome, defaulting to plains
- Fixed a error in the logs:
Unknown biome, defaulting to plains
- 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.<br></br>
- 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
blockstatesandnbt, onlyid.
nether_logs/logs/base/deform_blocks/nether_leaves/leaves/others block tags in physics_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>}- Updated to 1.20.5 and 1.20.6.
- Fixed a bug, at the beginning of the game until you hit the shift, you couldn't make the tree fall.
- Fixed a bug, at the beginning of the game until you hit the shift, you couldn't make the tree fall.
- Now, with the shift clamped, you can safely break the blocks of the tree, the tree will not fall!
- Now, with the shift clamped, you can safely break the blocks of the tree, the tree will not fall!
- Due to minecraft version 1.20.3, the id of the
grassblock has been updated toshort_grass.

