Auto Replant Tree

Auto Replant Tree

Automatically replants saplings when a player breaks a log block. Supports all vanilla tree types across Fabric, Forge, and NeoForge.

by
591 Downloads
fabricforgeneoforgeutility
Rent Server with this Mod

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: false to 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

  1. Break a log block
  2. Holding sneak? (if sneakToDisable: true) → Skip
  3. Matching sapling found in inventory? (skipped if requireSapling: false)
  4. Ground valid? (dirt, grass, nylium, etc.)
  5. 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 false to disable its auto-replant
  • sneakToDisable: false → always replant regardless of crouching
  • requireSapling: 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

Auto Replant Tree 2.2.0 (neoforge 26.1)release
MC 26.1, 26.1.1, 26.1.2neoforge
May 19, 2026
Auto Replant Tree 2.2.0 (neoforge 1.21.4)release
MC 1.21.4neoforge
May 19, 2026
Auto Replant Tree 2.2.0 (neoforge 1.21.1)release
MC 1.21.1neoforge
May 19, 2026
Auto Replant Tree 2.2.0 (forge 26.1)release
MC 26.1, 26.1.1, 26.1.2forge
May 19, 2026
Auto Replant Tree 2.2.0 (forge 1.21.4)release
MC 1.21.4forge
May 19, 2026

How to Install Auto Replant Tree on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

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

fabricforgeneoforge

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+19 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install Auto Replant Tree with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.61.21.5+12 more