Auto Replant Tree
Automatically replants saplings when you break a log block. Works on the server — no client mod needed.
Features
- All vanilla trees — Oak, Spruce, Birch, Jungle, Acacia, Dark Oak, Mangrove, Cherry, Pale Oak
- Nether trees — Crimson and Warped stems replant their respective fungi on nylium
- 2x2 support — Dark Oak and Jungle trees replanted as a 2x2 grid
- Sneak to cancel — Hold sneak while breaking to skip replanting
- No-sapling mode — Set
requireSapling: falseto plant without consuming saplings - Stripped & wood variants — Recognizes all log, stripped log, wood, and hyphae variants
- Full inventory search — Finds saplings anywhere including offhand
- Per-tree config — Enable/disable specific trees via
config/autoreplant.json
Supported Versions
| Minecraft | Fabric | Forge | NeoForge |
|---|---|---|---|
| 26.1.x | ✅ | ✅ | ✅ |
| 1.21.4 | ✅ | — | ✅ |
| 1.20.1 | ✅ | ✅ | — |
How It Works
- Break a log block
- Holding sneak? (if
sneakToDisable: true) → Skip - Matching sapling found in inventory? (skipped if
requireSapling: false) - Ground valid? (dirt, grass, nylium, etc.)
- Sapling planted, one consumed from inventory (none consumed if
requireSapling: false)
Supported Trees
| Log Type | Sapling Planted | 2x2 |
|---|---|---|
| Oak | Oak Sapling | No |
| Spruce | Spruce Sapling | No |
| Birch | Birch Sapling | No |
| Jungle | Jungle Sapling | Yes |
| Acacia | Acacia Sapling | No |
| Dark Oak | Dark Oak Sapling | Yes |
| Mangrove | Mangrove Propagule | No |
| Cherry | Cherry Sapling | No |
| Pale Oak | Pale Oak Sapling | No |
| Crimson Stem | Crimson Fungus | No |
| Warped Stem | Warped Fungus | No |
Configuration
Config file at config/autoreplant.json:
{
"sneakToDisable": true,
"requireSapling": true,
"trees": {
"oak": true, "spruce": true, "birch": true,
"jungle": true, "acacia": true, "dark_oak": true,
"mangrove": true, "cherry": true, "pale_oak": true,
"crimson": true, "warped": true
}
}
- Set any tree to
falseto disable its auto-replant sneakToDisable: false→ always replant regardless of crouchingrequireSapling: false→ plant without consuming saplings
Installation
Drop the jar into your server's mods/ folder. Works server-side only — no client installation needed.
License
MIT
No gallery available for this project.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
Auto Replant Tree 2.2.0 2.2.0 |
26.2
|
neoforge
|
Download |
|
Auto Replant Tree 2.2.0 2.2.0 |
26.2
|
forge
|
Download |
|
Auto Replant Tree 2.2.0 2.2.0 |
26.2
|
fabric
|
Download |
|
Auto Replant Tree 2.2.0 (neoforge 26.1) 2.2.0-neoforge-26.1 |
26.1, 26.1.1, 26.1.2
|
neoforge
|
Download |
|
Auto Replant Tree 2.2.0 (neoforge 1.21.1) 2.2.0-neoforge-1.21.1 |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
|
neoforge
|
Download |
|
Auto Replant Tree 2.2.0 (forge 26.1) 2.2.0-forge-26.1 |
26.1, 26.1.1, 26.1.2
|
forge
|
Download |
|
Auto Replant Tree 2.2.0 (forge 1.21.1) 2.2.0-forge-1.21.1 |
1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
|
forge
|
Download |
|
Auto Replant Tree 2.2.0 (forge 1.20.1) 2.2.0-forge-1.20.1 |
1.20.1, 1.20.2, 1.20.3, 1.20.4
|
forge
|
Download |
|
Auto Replant Tree 2.2.0 (fabric 26.1) 2.2.0-fabric-26.1 |
26.1, 26.1.1, 26.1.2
|
fabric
|
Download |
|
Auto Replant Tree 2.2.0 (fabric 1.21.1) 2.2.0-fabric-1.21.1 |
1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
|
fabric
|
Download |
|
Auto Replant Tree 2.2.0 (fabric 1.20.1) 2.2.0-fabric-1.20.1 |
1.20.1, 1.20.2, 1.20.3, 1.20.4
|
fabric
|
Download |
|
Auto Replant Tree 2.1.0 2.1.0 |
1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6
|
fabric
|
Download |
|
Auto Replant Tree 2.1.0 2.1.0 |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
|
fabric
|
Download |
|
Auto Replant Tree 2.1.0 2.1.0 |
26.1, 26.1.1, 26.1.2
|
fabric
|
Download |
|
Auto Replant Tree 2.1.0 2.1.0 |
1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6
|
forge
|
Download |
|
Auto Replant Tree 2.1.0 2.1.0 |
26.1, 26.1.1, 26.1.2
|
forge
|
Download |
|
Auto Replant Tree 2.1.0 2.1.0 |
26.1, 26.1.1, 26.1.2
|
neoforge
|
Download |
|
Auto Replant Tree 2.1.0 2.1.0 |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
|
neoforge
|
Download |
|
Auto Replant Tree 2.2.1 (Forge 1.20.x) 2.2.1 |
1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6
|
forge
|
Download |
|
Auto Replant Tree 2.2.0 (Fabric 1.20.x) 2.2.0 |
1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6
|
fabric
|
Download |
|
Auto Replant Tree 2.1.1 (NeoForge 1.21.x) 2.1.1 |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
|
neoforge
|
Download |
|
Auto Replant Tree 2.1.0 (Fabric 1.21.x) 2.1.0 |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
|
fabric
|
Download |
|
Auto Replant Tree 2.0.2 (NeoForge 26.1.x) 2.0.2 |
26.1, 26.1.1, 26.1.2
|
neoforge
|
Download |
|
Auto Replant Tree 2.0.1 (Forge 26.1.x) 2.0.1 |
26.1, 26.1.1, 26.1.2
|
forge
|
Download |
|
Auto Replant Tree 2.0.0 (Fabric 26.1.x) 2.0.0 |
26.1, 26.1.1, 26.1.2
|
fabric
|
Download |