Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Viper Tree Feller
Chop down entire trees with a single swing. Break one log with an axe and the whole tree - trunk, branches and leaves - comes down according to your configuration.
What the mod does
- Individual tree detection: flood-fills connected logs (including diagonal joins, branchy shapes, 2x2 jungle and spruce trunks, mangrove roots and nether "trees") and validates them against leaf coverage before felling.
- Leaf faller: after the trunk falls, the leaves that belong to the tree break too. How far leaves are detected vs. broken is separately configurable.
- Smart build protection: player structures made of logs are left alone through banned blocks, trunk pillar limits, trunk counts, height and growth-direction ratios, and optional cross-section mining for thick trunks.
- Custom trees and tools: any combination of log and leaf blocks can form a tree, any axe (or anything, including an empty hand) can be a tool, and almost every option below can be overridden per tree or per tool. Tools and trees are checked in order - first match wins.
- Felling styles: instant break, direct-to-inventory, natural drop, or falling-block physics including directional falls (toward/away/left/right/compass) and natural tipping falls, with optional per-ring cutting animation.
- Effects: particles, sounds, explosions and datapack markers with chance, location and block filters.
- Replanting: saplings replant automatically, including the 4-sapling 2x2 square jungle, spruce and dark oak need.
- Costs and limits: tool damage with unbreaking support, hunger/health costs, global and per-tool/per-tree cooldowns, durability and breakage rules, fortune/silk-touch handling, drop and block conversions, and cascade mode that fells touching trees for full forest clearing.
- Debugging:
/treefeller debugtells you exactly why a tree did or did not fall, and startup logs summarize the loaded configuration.
Works in singleplayer and on dedicated servers. When installed only on the server, joining players need nothing installed.
Installation
- Install Fabric Loader 0.19.5 or newer for your Minecraft version.
- Download Fabric API for your Minecraft version (required dependency) and the matching Viper Tree Feller file from the Versions tab.
- Put both
.jarfiles into themodsfolder of your game or server. - Start the game or server once to generate
config/viper-tree-feller/config.yml, edit it to taste, then run/treefeller reloadin game or from the server console.
Which file do I need?
| Your Minecraft version | Download this file |
|---|---|
| 1.21 - 1.21.11 | Viper Tree Feller 1.0.0 (MC 1.21 - 1.21.11) |
| 26.1 - 26.1.2 | Viper Tree Feller 1.0.0 (MC 26.1 - 26.1.2) |
| 26.2 | Viper Tree Feller 1.0.0 (MC 26.2) |
| 26.3 | Viper Tree Feller 1.0.0 (MC 26.3) |
Requires Fabric API alongside the mod on all versions.
Commands
All commands start with /treefeller:
| Command | Who can run it | Description |
|---|---|---|
/treefeller help |
anyone | Shows command help |
/treefeller reload |
operators (level 2) / console | Reloads config.yml from disk |
/treefeller on |
anyone | Turns felling on for yourself |
/treefeller off |
anyone | Turns felling off for yourself |
/treefeller toggle [on|off] |
anyone | Toggles felling for yourself |
/treefeller debug [on|off] |
operators (level 2) / console | Toggles verbose detection messages |
/treefeller config |
operators (level 2) / console | Shows loaded tree/tool counts and the config file location |
reload, debug and config also work from the server console. Fine-grained felling permissions can additionally be set per tool or tree with required-permissions (needs operator status or a permissions mod such as LuckPerms with a Fabric permissions layer).
Configuration
Everything lives in config/viper-tree-feller/config.yml and uses the same keys as the original Bukkit plugin, so existing configs carry over. Almost every option can be overridden per tool or per tree.
Detection options
| Option | Default | Description |
|---|---|---|
startup-logs |
true |
Log a summary of the loaded trees, tools and effects on startup |
default-enabled |
true |
Whether felling is on for players by default (see /treefeller toggle) |
scan-distance |
256 |
How far the tree scan may reach from the broken block |
leaf-detect-range |
6 |
How far from logs leaves are searched to validate a tree |
leaf-break-range |
6 |
How far from logs leaves are actually broken (0 leaves them standing) |
required-logs |
4 |
Minimum logs for the shape to count as a tree |
required-leaves |
10 |
Minimum leaves for the shape to count as a tree |
max-logs |
250 |
Maximum logs a tree may have (larger shapes are rejected unless partial felling is on) |
partial-log-limit |
(none) | Cap for how many logs a partial fell may take |
max-height |
5 |
How far above the base you may start cutting (1 = bottom block) |
allow-partial |
false |
Fell oversized trees partially anyway |
allow-partial-tool |
false |
Fell even when tool durability is insufficient |
player-leaves |
false |
Also count player-placed (persistent) leaves |
diagonal-leaves |
false |
Detect leaves diagonally (needed for some custom trees) |
ignore-leaf-data |
false |
Ignore leaf block state (persistence/distance) when detecting |
require-cross-section |
false |
Thicker-than-1x1 trunks must be fully cut through at one level first |
force-distance-check |
false |
Extra distance validation for non-standard leaves (can cost performance) |
decorations |
snow, vines, cocoa, weeping vines, moss... | Attachments removed together with the tree |
banned-logs / banned-leaves |
(none) | Blocks that disqualify the shape (protects buildings) |
max-horizontal-trunk-pillar-length |
6 |
Longest allowed horizontal log beam (rejects roofs and bridges) |
max-trunks |
(none) | Maximum trunks counted at cut level |
min-height-ratio / max-height-ratio |
(none) | Allowed height-to-width ratio range |
min-vertical-log-ratio |
0.5 |
Minimum vertical-vs-horizontal log ratio (rejects sideways constructions) |
max-vertical-log-ratio |
(none) | Maximum vertical-vs-horizontal log ratio |
Felling, drops and costs
| Option | Default | Description |
|---|---|---|
log-behavior / leaf-behavior |
BREAK |
BREAK, INVENTORY, NATURAL, FALL... and FALL_NATURAL... variants (falling blocks can hurt, break, or go to inventory) |
cutting-animation / anim-delay |
false / 1 |
Break the tree ring by ring with a tick delay |
directional-fall-behavior |
RANDOM |
Fall direction: RANDOM, TOWARD, AWAY, LEFT, RIGHT or compass points |
directional-fall-velocity / vertical-fall-velocity / explosive-fall-velocity / random-fall-velocity |
0.35 / 0.05 / 0.0 / 0.0 |
Falling-block velocities |
lock-fall-cardinal |
false |
Restrict falls to north/south/east/west |
fall-hurt-amount / fall-hurt-max |
2.0 / 40 |
Damage dealt by hurting falls |
fall-delay |
0 |
Ticks to wait before falling blocks spawn |
overridables |
air, water, grass... | Blocks a naturally falling tree may replace |
rotate-logs |
true |
Logs tip over realistically when falling |
leave-stump |
false |
Keep logs below the cut point standing |
damage-mult |
1.0 |
Tool damage multiplier per log |
respect-unbreaking / respect-unbreakable |
true |
Unbreaking reduces damage; unbreakable tools take none |
prevent-breakage |
false |
Refuse fells that would break the tool |
stacked-tools |
false |
Treat a stacked tool as one tool |
leaf-fortune / log-fortune |
true |
Fortune applies to leaves / logs |
leaf-silk-touch |
false |
Whether silk touch applies to leaves |
log-silk-touch |
true |
Whether silk touch applies to logs |
leaf-drop-chance / log-drop-chance |
1.0 |
Drop chance for leaves / logs (0 disables drops) |
drop-conversions |
wood -> log... | Convert drops (e.g. OAK_WOOD drops OAK_LOG) |
block-conversions |
muddy roots -> mud | Replace blocks instead of breaking them |
consumed-food-base / consumed-food-logs / consumed-food-leaves |
0.0 |
Hunger exhaustion per fell / log / leaf |
consumed-health-base / consumed-health-logs / consumed-health-leaves |
0.0 |
Health damage per fell / log / leaf |
Replanting
| Option | Default | Description |
|---|---|---|
replant-saplings |
false |
Replant after felling |
use-tree-saplings |
true |
Use the tree's own sapling type |
use-inventory-saplings |
false |
Take saplings from the player inventory |
spawn-saplings |
0 |
0 planted only from drops/inventory, 1 top up after a delay, 2 always plant |
sapling-timeout |
50 |
Ticks to wait before topping up saplings |
sapling / max-saplings |
per tree | Which sapling to plant and how many (2x2 trees plant their 4-square) |
grass |
dirt, grass block, podzol | Soils saplings may be planted on |
roots / root-distance |
(none) / 6 |
Blocks (e.g. mangrove roots) that can trigger felling from a distance |
Requirements and limits
| Option | Default | Description |
|---|---|---|
required-enchantments / banned-enchantments |
(none) | e.g. {efficiency: 4} must-have / must-not-have enchantment levels |
min-durability / max-durability / min-durability-percent / max-durability-percent |
(none) | Tool durability windows that may fell |
required-lore / required-name |
(none) | Lore lines / exact item name the tool must have |
custom-model-data |
(none) | Required custom model data value |
required-permissions |
(none) | Permission nodes the player must have |
allowed-trees |
(none) | Tool-only: indexes of trees this tool may fell |
min-time / max-time |
(none) | Day-time window (0-24000) |
min-phase / max-phase |
(none) | Moon-phase window (0-7) |
min-food / max-food / min-health / max-health |
(none) | Hunger and health windows |
enable-adventure / enable-survival / enable-creative |
false / true / false |
Gamemodes felling works in |
with-sneak / without-sneak |
false / true |
Whether sneaking enables/disables felling |
worlds / world-blacklist |
(none) / false |
Dimensions felling works in (or excluded) |
biomes / biome-blacklist |
(none) / false |
Biomes felling works in (or excluded) |
cooldown |
(none) | Ticks to wait before felling again (global, per tool, per tree) |
cascade / parallel-cascade-limit / cascade-check-limit / cascade-trees |
false / 1 / 64 |
Fell touching trees too, for clearing forests |
Tools format
tools:
- WOODEN_AXE
- STONE_AXE
- COPPER_AXE
- IRON_AXE
- GOLDEN_AXE
- DIAMOND_AXE
- NETHERITE_AXE
Entries can be plain item names or maps with type plus any option overrides, for example {type: GOLDEN_AXE, required-enchantments: {unbreaking: 1}} or {type: IRON_AXE, allowed-trees: [0, 1, 3]}. Use AIR as the type to match everything including an empty hand. Define the same item twice with different requirements for either/or behaviour. A fun setup from the original plugin: fell ores with pickaxes by adding an ore "tree" with {required-leaves: 0, leaf-detect-range: 0, leaf-break-range: 0} and a tool like {type: IRON_PICKAXE, allowed-trees: ORE}.
Trees format
trees:
- [[OAK_LOG, OAK_WOOD], OAK_LEAVES, {sapling: OAK_SAPLING, max-saplings: 1}]
- [BIRCH_LOG, BIRCH_LEAVES]
- SPRUCE_LOG
Each tree lists trunk blocks, leaf blocks and optional overrides. A single log name auto-detects its leaves. The default config already covers oak, birch, spruce, jungle, dark oak, acacia, azalea, mangrove (with roots), cherry, pale oak, crimson and warped trees.
Effects and messages
Custom effects in the effects list support particle, sound, explosion and marker types with chance, location (logs, leaves, tree, decoration, tool), block filters and per-type settings, assigned via global-effects (use ALL for everything). Chat, actionbar and debug texts are customizable through the chat-*, actionbar-* and debug-* keys.
Troubleshooting
- Update to the latest file for your Minecraft version first.
- Run
/treefeller debug onand chop a tree: the messages explain every failed requirement. - Very large or oddly generated custom trees may need
ignore-leaf-data,diagonal-leavesandplayer-leavesenabled on their tree entry. - Unknown block or item names in the config are skipped gracefully so one file can span versions.


