Auto Replant Tree

Auto Replant Tree — Automatically replants matching saplings when you break a log, if the ground below is suitable.

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

The Auto Replant Tree Team

profile avatar
Owner
  • 23
    Projects
  • 17.3K
    Downloads

More from CukkooView all

  • Gridless Inventory project image

    Gridless Inventory

    • 1
    • Mods

    Removes the grid from storage inventories, allowing you to freely place your items anywhere, pixel by pixel. Features smart auto-merge, scaling interactions, and universal UI support!

    • 1
    • June 29, 2026
    • Mods
    • +2
  • Whip project image

    Whip

    • 59
    • Mods

    A highly dynamic, physics-based 3D whip mod! Features smooth Verlet integration, satisfying charge attacks, dynamic range scaling, and a Grappling Hook enchantment to swing across the world.

    • 59
    • June 29, 2026
    • Mods
    • +2
  • Death Sound Nether project image

    Death Sound Nether

    • 35
    • Mods

    Your fallen pets echo from the Nether. Hear their ghostly voices and the sounds of how they died drifting through the darkness.

    • 35
    • June 23, 2026
    • Mods
    • +2
  • Dagers project image

    Dagers

    • 14
    • Mods

    A lightweight weapon mod that introduces custom 3D daggers. Offers rapid-strikes and single-target damage without the vanilla sweep attack.

    • 14
    • June 5, 2026
    • Mods
    • +1
  • Gridless Inventory project image

    Gridless Inventory

    • 1
    • Mods

    Removes the grid from storage inventories, allowing you to freely place your items anywhere, pixel by pixel. Features smart auto-merge, scaling interactions, and universal UI support!

    • 1
    • June 29, 2026
    • Mods
    • +2
  • Whip project image

    Whip

    • 59
    • Mods

    A highly dynamic, physics-based 3D whip mod! Features smooth Verlet integration, satisfying charge attacks, dynamic range scaling, and a Grappling Hook enchantment to swing across the world.

    • 59
    • June 29, 2026
    • Mods
    • +2
  • Death Sound Nether project image

    Death Sound Nether

    • 35
    • Mods

    Your fallen pets echo from the Nether. Hear their ghostly voices and the sounds of how they died drifting through the darkness.

    • 35
    • June 23, 2026
    • Mods
    • +2
  • Dagers project image

    Dagers

    • 14
    • Mods

    A lightweight weapon mod that introduces custom 3D daggers. Offers rapid-strikes and single-target damage without the vanilla sweep attack.

    • 14
    • June 5, 2026
    • Mods
    • +1