
Auto Replant Tree
Automatically replants saplings when a player breaks a log block. Supports all vanilla tree types across Fabric, Forge, and NeoForge.
About this Mod
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
Available Versions
How to Install Auto Replant Tree on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "Auto Replant Tree". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1 (+19 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Auto Replant Tree server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is Auto Replant Tree compatible with fabric and forge and neoforge?
Auto Replant Tree officially supports fabric, forge, neoforge for Minecraft 26.1.2, 26.1.1, 26.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Auto Replant Tree – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Auto Replant Tree consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Auto Replant Tree with just one click on your server.