Minecraft Data Packs / Adventure

FastLeafDecay Datapack

  • check_circle Functions
  • check_circle Predicates
  • 77,865 views, 21 today
  • 22,021 downloads, 6 today
  • 99
  • 104
  • 14
Hielke
Level 89 : Elite Fox
423
FastLeafDecay Datapack Minecraft Data Pack

FastLeafDecay
does exactly what the name implies, it makes leaves decay faster!

This datapack has no effect on the random tick speed, so your crops won't suddenly grow faster.



How it looks

FastLeafDecay Datapack Minecraft Data Pack

With TreeCapitator Datapack installed (leaf break disabled):
FastLeafDecay Datapack Minecraft Data Pack

This datapack does not work when breaking logs in creative mode.


Settings

If you'd like to change the speed of which the leaves decay, you have to edit the chance.json file inside the <datapack>/data/fld/predicates folder.


The default value is 0.015, which means that for every game tick, there is a 1.5% chance for the leaf block to decay. (30% chance per second)



Compatibility


FastLeafDecay works for Minecraft 1.15 and up.




Installation instructions


  1. Download the datapack
  2. Place the zip file inside the datapacks folder of your world
  3. Rejoin the world or use /reload
  4. Enjoy!
CompatibilityMinecraft 1.15
toMinecraft 1.16
Tags

1 Update Logs

V1.0.1 : by Hielke 05/19/2021 2:41:11 pmMay 19th, 2021

- Fixed a bug where the datapack would stop working after a while
- Added pack.png

Create an account or sign in to comment.

User3419807G
11/11/2021 8:35 pm
Level 1 : New Miner
can we use it in mod packs? with credit
1
PoliteCanadian
03/05/2021 6:25 pm
Level 1 : New Miner
I also tried updating the datapack version to "6" but it's still not working. However, I noticed that the very first tree that is chopped down in a world will work properly; however, every tree after that will not decay rapidly.
1
Hielke
05/19/2021 2:43 pm
Level 89 : Elite Fox
Hey there. You're right. there was an odd issue where the datapack would stop working after a while. Something about the timing of ticks I guess. It should be all fixed now.
1
PoliteCanadian
03/05/2021 6:11 pm
Level 1 : New Miner
With Minecraft 1.16.5 this isn't working. I have set the predicate to `0.05` (100%) and it still takes a very long time?
1
Hielke
05/24/2021 5:14 am
Level 89 : Elite Fox
Fixed now
1
crispytwig
09/21/2020 9:29 pm
He/They • Level 4 : Apprentice Modder
I got mine working, but it's not nearly as fast as yours. How did you get yours to go so fast?
1
Ezero2
08/22/2020 11:07 am
Level 1 : New Crafter
how its performance on multiplayer? can apply this to persistent leaves so the custom trees can be chopped completelly?
1
Hielke
05/19/2021 2:46 pm
Level 89 : Elite Fox
history
Sorry for the late reply xD

For every dropped log item it checks once if there are leaves besides it that need to decay. If a leaf block is found it will check if there are leaves around that one. This loop continues until all decaying leaves blocks are identified. It keeps track of the blocks location with an area effect cloud. That's the main performance impact.
1
K1net1c
07/12/2020 10:06 pm
Level 1 : New Miner
I cant edit the json file
1
Etungula
09/01/2020 2:20 pm
Level 28 : Expert Llama
You can't edit stuff in zipped folders, unzip it first and then you should be able to.
1

Welcome