Description
Shift-click a villager trade to repeat it — as many times as you can afford.
Selling a chest of paper to a librarian, buying stacks of glass or farming emeralds with sticks usually means clicking the same trade over and over. Trade Repeater does the clicking for you.
How it works
- Open a villager's (or wandering trader's) trading screen.
- Shift + click a trade in the list on the left.
- The trade repeats on its own and the results go into your inventory.
It stops automatically when:
- you don't have enough items for another trade,
- the villager has run out of stock for that trade (the red ✕),
- your inventory has no room for the result,
- you click anywhere in the trading screen or close it.
A short status line under the trading window shows the progress, then how many trades were made and why it stopped.
A normal click (without Shift) works exactly like in vanilla.
Works on servers
Trade Repeater is client-side only. It doesn't add new packets or server logic: it simply automates the clicks you would make yourself — select the trade, take the result, put it in your inventory — at a limited speed. That's why it works on vanilla servers and doesn't need to be installed on the server.
Please note: some servers use anti-cheat plugins that may not like fast, repeated inventory clicks. By default the mod makes only 2 trades per game tick; if a server complains, lower tradesPerTick to 1. If a server's rules forbid click automation, don't use the mod there.
Configuration
config/traderepeater.json is created on first launch:
| Option | Default | Description |
|---|---|---|
enabled |
true |
Turn the mod on or off. |
tradesPerTick |
2 |
Trades per game tick (20 ticks = 1 second), 1–16. Lower is gentler on servers. |
requireShift |
true |
Only repeat when Shift is held. Set to false to repeat on every click. |
showSummary |
true |
Show "N trades" when it stops. |
Restart the game after editing the file.
Versions
- Fabric (requires Fabric API) and NeoForge
- Minecraft 26.3 and 1.21.1
FAQ
Does it change prices or trades? No. You pay exactly what you would pay by hand, and villagers gain experience and restock as usual.
Does it work with the wandering trader? Yes, it works in any vanilla trading screen.
Can I put it in my modpack? Yes. The mod is MIT-licensed.
This mod's code, icon and description were made with the help of AI tools and tested in-game.

