Minecraft Data Packs / Game Mechanic

Physical Falling Trees V1.5

  • check_circle Functions
  • check_circle Predicates
  • 23,597 views, 33 today
  • 5,413 downloads, 8 today
  • 79
  • 78
  • 40
Antoha256M's Avatar Antoha256M
Level 54 : Grandmaster Mage
126
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.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

8 Update Logs

V1.5 for 1.20.3 – 1.20.4 : by Antoha256M 12/09/2023 7:31:24 amDec 9th, 2023

  • 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 `grass` block has been updated to `short_grass`.
LOAD MORE LOGS

Create an account or sign in to comment.

XuanFeiYingZhe
03/31/2024 10:06 am
Level 1 : New Miner
XuanFeiYingZhe'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?
1
Whateverdata55
12/16/2023 4:42 pm
Level 14 : Journeyman Artist
Whateverdata55's Avatar
its doesnt work for me on multiplayer
1
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 48 : 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
Antoha256M
10/12/2023 8:07 am
Level 54 : Grandmaster Mage
Antoha256M's Avatar
because at the time of creating the video, I had a weak computer, and it was lagging not because of the datapack, but because of chunks
1
Silabear
10/08/2023 11:30 am
Level 68 : High Grandmaster Bear
Silabear's Avatar
tree goes wheeeeeeeeeeeeeeeeeeee *poof*
3
Wolfy Goober
10/06/2023 2:03 pm
Level 9 : Apprentice Warrior
Wolfy Goober's Avatar
NOW THATS WHAT I WAS LOOKING FOR
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome