
Villager Cycle
A Minecraft Fabric mod that adds a button to refresh villager trades.
Screenshots





About this Mod
Villager Cycle
A Quality of Life mod for Minecraft Fabric that adds a button to villager trading screens, allowing you to refresh their trades before making any purchases.
Features
- Cycle Trades Button: Customizable button above the villager trading GUI
- Draggable Button Position: Reposition the button via drag screen
- Real-Time Updates: Trade offers refresh instantly without closing the GUI
- Keybind Support: Keyboard and mouse button bindings for all mod functions
- Configurable Cycle Limits: Set limits on how many times trades can be cycled (per villager)
- Wandering Trader Support: Optional feature (operator-controlled on servers)
- Smart Validation: Only works on valid villagers (must have profession, not traded with)
- Server-Side Security: All validation happens server-side
- Anti-Exploit Protection: Clears trade input slots to prevent item duplication
Installation
- Download from Releases
- Place
.jarin your.minecraft/modsfolder - Required: Fabric API (version matched to your MC version)
- Recommended: Cloth Config 20.0.149+ (enhanced config UI, not available for MC 26.1)
- Recommended: ModMenu 16.0.0+ (in-game config access)
- Launch Minecraft with Fabric Loader 0.18.4+
How to Use
- Open a villager's trading interface
- Click the "Cycle Trades" button (or use the keybind)
- The villager's Level 1 trades will regenerate with new offers
Configuration
Config File Location
- Windows:
%appdata%\.minecraft\config\villagercycle.json - macOS:
~/Library/Application Support/minecraft/config/villagercycle.json - Linux:
~/.minecraft/config/villagercycle.json
Options
{
"enableCycleButton": true,
"allowWanderingTraders": false,
"showSuccessMessage": true,
"showWanderingTraderSuccessMessage": true,
"villagerCycleLimit": -1,
"wanderingTraderCycleLimit": 1,
"buttonOffsetX": 6,
"buttonOffsetY": -25,
"buttonWidth": 100,
"buttonHeight": 20
}
| Option | Default | Description |
|---|---|---|
enableCycleButton |
true |
Show/hide the cycle button |
showSuccessMessage |
true |
Show villager cycle success message (client-side) |
showWanderingTraderSuccessMessage |
true |
Show wandering trader success message (client-side) |
allowWanderingTraders |
false |
Enable wandering trader cycling (operator only on servers) |
villagerCycleLimit |
-1 |
Max cycles per villager: -1=unlimited (operator only on servers) |
wanderingTraderCycleLimit |
1 |
Max cycles per wandering trader: -1=unlimited (operator only on servers) |
buttonOffsetX/Y |
6/-25 |
Button position offset from GUI |
buttonWidth/Height |
100/20 |
Button dimensions (pixels) |
Keybinds
All keybinds are unbound by default. Set them in Options → Controls → Villager Cycle.
Supports both keyboard keys and mouse buttons (e.g., Mouse Button 4/5).
| Keybind | Function |
|---|---|
| Toggle Button Visibility | Show/hide the cycle button |
| Open Button Position Screen | Open drag screen to reposition button |
| Open Config Screen | Open the mod configuration screen |
| Reload Config File | Reload config from disk |
| Cycle Trades | Cycle trades while in merchant screen (keyboard or mouse) |
Singleplayer vs Multiplayer
- Singleplayer: All features available with full control over all settings.
- Multiplayer: Operator permission (level 4) required for:
- Allow Wandering Traders toggle
- Villager Cycle Limit
- Wandering Trader Cycle Limit
Success message toggles are client-side — each player controls their own preference.
Limitations
- Only works on villagers not yet traded with
- Only works on villagers with valid professions (not Nitwits/Unemployed)
- Only refreshes Level 1 trades (experience level 0)
- Items in trade slots are returned to inventory when cycling
Technical Requirements
- Minecraft: 1.21.9, 1.21.10, 1.21.11, or 26.1
- Fabric Loader: 0.18.4+
- Java: 21+ (Java 25+ for MC 26.1)
- Fabric API: Required (version matched to your MC version)
- Cloth Config: Optional, recommended (not available for MC 26.1 as of late)
- ModMenu: Optional, recommended
License
MIT License — Free to include in modpacks.
Support
Open an issue on GitHub for bugs or suggestions.
Author
Created by Partacus-SPQR
Available Versions
How to Install Villager Cycle on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1).
Install Mod
Open the mod browser in the dashboard and search for "Villager Cycle". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1, 1.21.11, 1.21.10
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Villager Cycle 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). You can switch loaders with one click in the panel.
Is Villager Cycle compatible with fabric?
Villager Cycle officially supports fabric for Minecraft 26.1, 1.21.11, 1.21.10. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Villager Cycle – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Villager Cycle 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.
Similar Mods
Rent Modded Server
Install Villager Cycle with just one click on your server.