Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Tree Harvester allows harvesting trees, warped trees and huge mushrooms instantly by chopping down one base block. This can be any part of the tree. The sapling will automatically be replaced, by using what the tree drops. There are many checks in the mod, from preventing accidental harvesting of houses made from logs to what leaves should decay.
By default the harvesting only works when holding the crouch button, but this can be toggled in the config. For more feature examples see below. There are lots of config options to tweak the mod exactly to your liking. Playing with huge modded trees? The amount of logs broken in one harvest can be limited in the config as well.
Developed to work alongside my Ore Harvester mod.
Features with the default configuration settings:
◉ All trees, vanilla and modded, can be harvested quickly by crouching and chopping down one block.
◉ The time it takes to chop down a tree is determined by the amount of logs in it.
◉ Leaves will decay very quickly after harvesting a tree.
◉ Saplings will be replaced after the last leaf has been decayed.
◉ Warped trees, in the nether, can be harvested quickly.
◉ Huge mushrooms can also be harvested quickly
◉ Certain axe types can be exempted from harvesting trees via a blacklist.
◉ Paxels and other modded tools that aren't detected as an axe can be added in the config.
◉ Blocks that should never be felled as a tree can be set in the config.
◉ Many checks to determine what is a tree and what isn't. No accidental destroying of houses.
◉ When two types of trees are next to each other, only the leaves of the tree broken will decay.
◉ Your axe won't break halfway through a tree. It stops at 1 durability, and needs a repair before it can harvest trees again.
◉ Leaves drop as if broken with your axe, so a silk touch axe gives leaf blocks.
◉ Every felled log triggers a block break event, so mods like Project MMO see each one.
◉ Compatible with other mods.
All available config options:
Show Spoiler
mustHoldAxeForTreeHarvest default true
If enabled, tree harvesting only works when a player is holding an axe in the main hand.
axeWhitelist default "easy_emerald:*_paxel,piercingpaxels:*_paxel,randomisfits:*_multitool,tetra:modular_double"
A comma separated list of item ids that can harvest trees too, for modded tools that are not detected as an axe, like paxels and multitools. Use * as a wildcard. An id without a namespace matches items of every mod. Applies after rejoining the world.
treeHarvestWithoutSneak default false
If enabled, tree harvesting works when not holding the sneak button. If disabled it's reversed, and only works when sneaking.
automaticallyFindBottomBlock default true
Whether the mod should attempt to find the actual bottom log of the tree and start there. This means you can break a tree in the middle and it will still completely be felled.
enableFastLeafDecay default true
If enabled, the leaves around a broken tree will quickly disappear.
enableNetherTrees default true
If enabled, the warped stem/crimson trees in the nether will also be chopped down quickly.
enableHugeMushrooms default true
If enabled, giant/huge mushrooms will also be chopped down quickly.
ignorePlayerMadeTrees default true
If enabled, trees with leaves placed by players won't be destroyed.
logBlockBlacklist default ""
A comma separated list of block ids that are never harvested as a tree, also when they're detected as a log. Use * as a wildcard. An id without a namespace matches blocks of every mod. For example 'minecraft:jungle_log,*crimson_stem'. Applies after rejoining the world.
replaceSaplingOnTreeHarvest default true
If enabled, automatically replaces the sapling from the drops when a tree is harvested.
replaceMushroomOnMushroomHarvest default true
If enabled, automatically replaces the mushroom from the drops when a huge mushroom is harvested and 'enableHugeMushrooms' is enabled.
loseDurabilityPerHarvestedLog default true
If enabled, for every log harvested, the axe held loses durability.
loseDurabilityModifier default 1.0, min 0.001, max 1.0
Here you can set how much durability chopping down a tree should take from the axe. For example if set to 0.1, this means that every 10 logs take 1 durability.
preventAxeBreakingOnTreeHarvest default true
If enabled, harvesting a tree never breaks the axe. The whole tree is still felled, but the axe stops at 1 durability. An axe with 1 durability left can't harvest trees until it's repaired.
increaseExhaustionPerHarvestedLog default true
If enabled, players' exhaustion level increases 0.005 per harvested log (Minecraft's default per broken block) * increaseExhaustionModifier.
increaseExhaustionModifier default 1.0, min 0.001, max 1.0
This determines how much exhaustion should be added to the player per harvested log. By default 0.005 * 1.0.
increaseHarvestingTimePerLog default true
If enabled, harvesting time will increase per existing log in the tree. The amount is determined by 'increasedHarvestingTimePerLogModifier'.
increasedHarvestingTimePerLogModifier default 0.2, min 0.01, max 10.0
How much longer it takes to harvest a tree with 'increaseHarvestingTimePerLog' enabled. The actual speed is: newSpeed = originalSpeed / (1 + (logCount * increasedHarvestingTimePerLogModifier)).
amountOfLeavesBrokenPerTick default 5, min 1, max 16
How many leaves should be broken per tick after a tree has been harvested. Increasing this will speed up the fast leaf decay, but costs more processing power per tick.
maxAmountOfLogsBrokenPerHarvest default -1, min -1, max 100000
The maximum amount of logs broken in one harvest. The logs closest to the broken log go first, so a bigger tree is only partly felled. Useful against lag from huge modded trees or forests with connected logs. -1 means no limit.
triggerBlockBreakEventPerHarvestedLog default true
If enabled, every harvested log in a tree triggers a block break event, as if broken by hand. This lets other mods see each log, like skill mods that give experience for chopping or claim mods that protect an area. A log is skipped when another mod cancels its event.
Axe Blacklist Feature:
It's possible to only allow certain axes to harvest trees. On first load of the mod a blacklist file is generated. It is located at ./config/treeharvester/harvestable_axe_blacklist.txt. This works for modded axe items as well. Axes from mods you add later are added to the file automatically.
Harvesting a birch tree next to another oak. Only the birch leaves are decaying:
Show Spoiler

A big oak tree:
Show Spoiler

A 2x2 spruce tree. The time it takes to break the tree is longer, and all 4 saplings are replaced correctly:
Show Spoiler

Works with warped (nether) trees:
Show Spoiler

Also for huge mushrooms, here's a brown one:
Show Spoiler

And a red mushroom:
Show Spoiler

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!



