FallingTree

FallingTree

28M Downloads

(Mod version 2.12.2) Custom tree structures added by datapacks do not break leaves

NoMoreStars opened this issue · 6 comments

commented

Describe the bug

Attempted to use the FallingTree mod on a world using William Wyther's Overhauled Overworld and Terralith. Expected behavior was that custom tree structures added by both datapacks (for example, trees that generate in Terralith's Siberian Taiga biome) should break just like normal trees, as well as their leaves decaying. Instead, the trees can be chopped like normal but the leaves will not decay.

Here's an example of the type of trees that I'm having trouble with to give you an idea:
2021-08-07_14 20 05

Minecraft version

1.17.1

Fabric API version

0.37.1

Mod version

2.12.2

Relevant log output

N/A
commented

The reason is because the leaves generated are marked as persistent so they won't decay. It's the same as if they'd have been placed by the player.

image

commented

2021-08-07_22 46 34
Doesn't really get me to the same place.

Edit: Ok, found some trees that don't have leaves decaying

commented

I don't know how these leaves are declared. But since it is in a datapack I guess it can't extend the LeavesBlock class.
So you probably have to whitelist them.

Edit: maybe it's normal leaves but just with a different color?
In any case the logic for the leaves is always the same: if the block is considered as leaves, the mod simply accelerate the random ticking speed on. So as long as the leaves are connected to the tree, they should decay.

commented

Tried with a lot of those trees and didn't have any issue. Didn't find the ones you showed on the screens are there's a ton of biomes...

commented

Try the seed -2076151314 and run the command /locatebiome terralith:siberian_taiga and teleport to the coordinates that are listed in chat.

commented

Ah, gotcha. I'll make sure to report that the the dev of the datapack. Thanks!