Two fixes and a new feature for how trees come down: vanilla-accurate leaf clearing,
durability-bounded felling, and opt-in sapling replanting.
New in 1.4.0
- Leaf clearing now follows vanilla decay. With leaf breaking on, BlackTimber used to
scan a fixed cube around each log. That left the outer one or two layers of a wide canopy
behind and, in a forest, ate the leaves of a neighbouring tree that fell inside the cube.
Clearing now reproduces vanilla decay exactly: it removes only the leaves the felled tree
was supporting and that no surviving log still keeps within range. The whole canopy comes
down, outer layers included, on a tree of any size or shape, while an adjacent tree whose
trunk still stands keeps every one of its own leaves, even where two canopies overlap.
Player placed (persistent) leaves are still never touched. - Felling is bounded by the axe's durability. An axe could get stuck at 1 durability and
fell trees forever without breaking. Felling is now limited to the logs the axe can pay
for, Unbreaking honoured per log, so it can never outrun the tool. A worn axe fells the
part it can afford and leaves the rest standing. break-toolnow defaults totrue. The axe wears down and breaks like vanilla once
it runs out mid-fell. Set it tofalseto protect the axe instead: it then stops at 1
durability and leaves the rest of the tree standing rather than breaking.- New: sapling replanting. A fourth per player toggle, off by default, replants a
matching sapling where the tree stood. The species is read from the felled trunk: oak,
birch, spruce, jungle, acacia and cherry plant one sapling; dark oak and pale oak plant
their full 2x2 only when all four cells are clear; mangrove plants a propagule. It plants
only on valid ground (dirt, grass, podzol, moss and the like, plus farmland; clay and mud
for mangrove) and never over water, lava or an occupied block. Toggle it in the player
menu, with/blacktimber replant, or set the server defaultdefault-replant.
Config
- New
default-replant(defaultfalse): per player starting state for the replant toggle.
Replaces the old globalreplant-sapling. - New
leaf-clear-budget(default8192): safety ceiling on how many leaves a single fell
may examine before deferring cleanup to vanilla decay. leaf-search-radiusis now detection only and no longer limits clearing.break-tooldefault changed fromfalsetotrue.
Still true
- Whole tree felling that protects houses, tree houses and hand built trees.
- Three way detection: natural leaves, remembered placed logs, attached structures.
- Per player menu, live admin panel and a drag and drop leaf loot editor.
- Built for Folia. No external dependencies and no database.
Requirements
- Folia or Paper
26.1.2(api-version: 26.1). - Java
25.
Install
Drop BlackTimber-1.4.0.jar into your server plugins folder and start the server. An
existing config.yml keeps working; the new leaf-clear-budget falls back to its default,
and break-tool keeps whatever value you already set.