Minecraft Data Packs / Game Mechanic

Physical Falling Trees V1.5.1

  • check_circle Functions
  • check_circle Predicates
  • 28,369 views, 21 today
  • 6,048 downloads, 4 today
  • 82
  • 86
  • 43
Antoha256M's Avatar Antoha256M
Level 55 : Grandmaster Mage
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
CreditAntoha256M / Antoha256MC / Antoha256MCC
CompatibilityMinecraft 1.19
toMinecraft 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

Create an account or sign in to comment.

Frone123
07/11/2024 6:28 pm
Level 1 : New Miner
Frone123's Avatar
can you make it so when the trees fall, it destroys snow, because when it falls on snow, it kinda floats on it or something like that
1
XuanFengQing
03/31/2024 10:06 am
Level 1 : New Miner
XuanFengQing's Avatar
Wow, I love it! But I want to use it in my integration package so that trees in other mods can actually fall like this. However, I had no experience with packet compatibility, so when I cut down the trees in the module, all I saw was animation, but no log and leaf squares lying on the ground. Can you tell me what I should do?
2
Antoha256M
06/24/2024 3:43 pm
Level 55 : Grandmaster Mage
Antoha256M's Avatar
Which version are you on?
1
XuanFengQing
06/29/2024 1:13 am
Level 1 : New Miner
XuanFengQing's Avatar
1.20.1
1
Whateverdata55
12/16/2023 4:42 pm
He/Him • Level 23 : Expert Artist
Whateverdata55's Avatar
its doesnt work for me on multiplayer
2
User4921457G
12/05/2023 2:58 pm
Level 1 : New Miner
history
User4921457G's Avatar
I really love how the idea got implemented, but you often loose some tree logs when the angle gets wacky. I think it is possible place a falling log entity to the closest possible center of cordinate (for example 18.5X 78.5Y -90.5) without any issues with overwritting the same cordinate many times.

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)
2
notnewuser
11/22/2023 1:57 pm
Level 1 : New Miner
notnewuser's Avatar
Is it possible to not have the animation and still work?
1
AdeptusTeam
11/21/2023 11:29 am
Level 1 : New Miner
AdeptusTeam's Avatar
how i can contact with you ?
1
playbabeTheBookShelf
10/09/2023 2:18 am
Level 49 : Master uwu
playbabeTheBookShelf's Avatar
hey this's even better then mine, nice job but the lag lmao. I can see the FPS drop to none existence in your video
2
KyanoAng3l0
10/23/2023 8:31 pm
Level 1 : New Explorer
history
KyanoAng3l0's Avatar
The tree-felling animation may also appear laggy even tho there's no FPS drop at all, at least on my end. Even more so when I'm using a high-res texture pack.

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!
2

Welcome