- check_circle Functions
- check_circle Predicates
- 28,369 views, 21 today
- 6,048 downloads, 4 today
130
This datapack is only for versions 1.19.4 and higher! On version 1.19.3, this datapack will never work!
I made these trees using the new functions of version 1.19.4.
For 1.20.3 – 1.20.4
For 1.19.4 – 1.20.2
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. Trees fall to the heavier side, but if the center of gravity is in the center of the tree, then the tree falls towards the player.
Please don't write to me about the fact that the tree should fall in the direction of the player's rotate.
Contact me:
discord — antoha256m
telegram — Antoha256M
I made these trees using the new functions of version 1.19.4.
For 1.20.3 – 1.20.4
For 1.19.4 – 1.20.2
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. Trees fall to the heavier side, but if the center of gravity is in the center of the tree, then the tree falls towards the player.
Please don't write to me about the fact that the tree should fall in the direction of the player's rotate.
Contact me:
discord — antoha256m
telegram — Antoha256M
Credit | Antoha256M / Antoha256MC / Antoha256MCC |
Compatibility | Minecraft 1.19 |
to | Minecraft 1.20 |
Tags |
9 Update Logs
V1.5.1 for 1.19.4 – 1.20.4 and for 1.20.5 – 1.20.6 : by Antoha256M 05/24/2024 7:43:06 pmMay 24th
- Fixed a bug, at the beginning of the game until you hit the shift, you couldn't make the tree fall;
- Updated to 1.20.5 and 1.20.6.
LOAD MORE LOGS
5891954
119
Create an account or sign in to comment.
First: Store data of every entity position it wants to place itself after falling and block type (leaves or log) with overwritting (set cordinates so a place where a player chopped a log becomes 0X 0Y 0Z reference value). You can store data of one entity in one number: abc, where a is 0 or 1 depending on if this is a log or not. b stands for reference cordinates so they won't be large. c is for second nearest cordinate.
Second: If in one cordinate leaves AND a log want to place, then prioritize to place a log there and send the leaves to backup storage (just do anything you want)
Third: Place everything as your code already does, but, for every log overwritten by a log add anything wood-related (it can be a log) to SECOND nearest cordinate of logs so it can fit somewhere else (to do this you need to research the library for c values and It's finally done)
Yes, I have some experience (In Scratch)
I'm surprised (and impressed) that data packs can create this kind of animation to begin with. It's like a mix of BlingTrees' and Dynamic Trees' tree-felling. I love it!
Edit: Just saw SethBling's physics engine videos. We've understimated the power of data packs!