Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
TreeCapitator Mod Wiki › Guides › TreeCapitator Leaf Handling

TreeCapitator Leaf Handling

TreeCapitator can also clear the leaves attached to a felled tree, but by default it is conservative about which leaves it removes.

By default the mod only destroys leaf blocks that have already been marked for natural decay. In vanilla Minecraft, a log block contains code that marks nearby leaves within a certain distance for decay, so those leaves are recognized and cleared. Some custom log blocks from other mods do not include this leaf-decay code, so their surrounding leaves are never marked for decay. In that case TreeCapitator, in its default configuration, sees that the leaves are not marked and leaves them behind.

This behavior can be changed with the requireLeafDecayCheck option. Setting it to false bypasses the decay check so that leaves are destroyed even when a modded log fails to mark them for decay. Leaf destruction overall is governed by the destroyLeaves setting; with it enabled, leaves connected to the felled tree are removed alongside the trunk subject to the decay-check rule above.