Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
OP Trade Cycling
OP Trade Cycling is a client-side Fabric mod for Minecraft 1.20.1 that allows server operators to reroll the trades of untraded villagers without installing anything on the server.
It uses vanilla Minecraft commands and therefore only works when the player has permission to use /data and /execute, normally requiring OP permission level 2 or higher.
Features
- Fully client-side
- No server-side mod required
- Made for Minecraft 1.20.1 + Fabric
- Reroll villager trades directly from the trading screen
- Configurable keybind
- Keeps the merchant screen visually open while trades are refreshed
- Targets the exact villager using its UUID
- Refuses to reroll villagers that have already been traded with
- Multiple safety checks to prevent accidentally losing valuable trades
- Server-side
Xp:0safety guard before destructive commands are executed - English and Russian keybind translations
Requirements
- Minecraft 1.20.1
- Fabric Loader
- Fabric API
- Java 17 or newer
- Permission to use
/dataand/execute
Usage
- Install Fabric API and OP Trade Cycling on your client.
- Open the trading screen of an untraded villager with a profession.
- Press the configured Cycle villager trades (OP) key.
- The villager's offers will be regenerated.
The default key is C, but it can be changed in Minecraft's Controls menu.
Safety
The mod is intentionally conservative.
A reroll is blocked if:
- the villager's offers are not fully loaded;
- any offer has already been used;
- the villager has trade experience;
- the villager was previously detected as traded during the current connection;
- the exact villager cannot be identified.
The commands also target the exact villager UUID and require Xp:0 as an additional server-side safety check.
Server compatibility
Nothing needs to be installed on the server.
The server only needs to allow your player to use the required vanilla commands. The mod does not bypass permissions or provide operator access.
Source code
Source code and issue tracker are available on GitHub:

