
Swift Harvest Datapack, Crops Replant Themselves
Auto replant for farming: break a grown crop and it sows itself again from one seed of the drop. Wheat, carrots, potatoes, beetroot and nether wart. Server-side datapack - no mod, nothing for players to install.
Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
Swift Harvest
Break a grown crop and it plants itself again. One seed from what you just harvested goes back into the ground, the rest is yours.
No more walking the same row twice — once to break, once to replant.
What it does
Harvest a crop the normal way. The moment it drops, the field is sown again.
| Crop | Replants as |
|---|---|
| Wheat | Wheat seeds |
| Carrots | Carrot |
| Potatoes | Potato |
| Beetroot | Beetroot seeds |
| Nether wart | Nether wart |
Exactly one item from the drop is used for replanting. Break a wheat plant that gives you four seeds and you keep three. Nothing is created out of nothing, and nothing extra is taken.
It works with any tool and with your bare hands. Fortune still works — a bigger drop simply means more left over after the one seed goes back.
Why it does not use right-click
The obvious version of this idea is "right-click a crop to harvest it". That is what mods do, and there is a reason it is always a mod.
A datapack can only react to events the game reports. Right-clicking a crop in
vanilla does nothing at all, so the game reports nothing — no advancement
trigger fires, no statistic moves. Tested on a real 26.2 server with a real
mouse click against every candidate trigger (item_used_on_block,
any_block_use, default_block_use): placing a torch on stone fires two of
them, right-clicking ripe wheat fires none.
So this pack hooks the one moment that is reported: the harvest itself. You break the crop as always — the replanting is what you no longer have to do.
It does not slow your server down
There is no scanning of your farms and no per-player raycast. The pack looks at dropped items only, three times a second. With nothing lying on the ground that check costs nothing at all.
Good to know
- Dropping seeds by hand onto empty farmland plants them too. Some people like this; it is a side effect of how the pack works, not a hidden feature.
- The crop is planted at age 0 and grows at the normal vanilla speed.
- Villager farmers are unaffected; they already replant on their own.
- Works on existing worlds. Safe to remove at any time — nothing is stored.
Compatibility
Minecraft 1.18 all the way to 26.4 — 36 game versions.
Minecraft changed its data format 18 times across that range, so there is one download per format, not one file pretending to fit everything. Pick the one that matches your version; the version list tells you exactly which is which.
| 1.18 – 1.19.4 | four downloads |
| 1.20 – 1.20.6 | four downloads |
| 1.21 – 1.21.11 | seven downloads |
| 26.1 – 26.4 | three downloads |
- Vanilla, Fabric, Paper, Spigot, Purpur, Folia, NeoForge — it is a datapack
- Server-side only. Players install nothing.
- Conflicts only with other packs that change crop drops
Every download is tested, not assumed
Each file was loaded onto a real server of its own Minecraft version. For every one of the five crops the test sets a ripe plant, breaks it, and then checks that a new plant at age 0 stands there and that the leftover stack is still on the ground. A download only ships if all five pass.
If you downloaded this before
The earlier version did not work — nothing happened in game at all. It is no longer listed.
Its folder was called funktions and its files ended in .mcfunktion; Minecraft
only reads function/ and .mcfunction. There were no function tags, so nothing
would have started even with the right names. The tool check looked at an NBT path
called Dimensions, which does not exist. And a right-click was never detected at
all — the old code only checked whether a crop happened to be two blocks in front of
you. Loading it on a test server gave Unknown function harvest:tick.
It also claimed to support 55 game versions going back to 1.10 — Minecraft did not
even have data packs until 1.13, and its pack_format covered exactly one release.
Those versions now have proper downloads, each one tested.
This release is a full rewrite, and it is tested. Sorry to anyone who downloaded the old one.
FAQ
Do I need a hoe? No. Any tool works, and so do bare hands.
Do I get the seed back? You get the whole drop minus the one item used to replant.
Does Fortune still work? Yes. The drop is vanilla; only one item is taken from it.
Does it work on farms other players built? Yes, anywhere in the world.
Can I still farm the normal way? Yes. Break, bone meal, villagers, redstone farms — all unchanged.

