Описание
# Villager Trade Reset
**Villager Trade Reset** is a lightweight Fabric mod that allows you to reroll a villager's trades before making any purchase.
## Features
- **Reset button** — A "Reset trades" button appears directly in the villager trading interface
- **Keybind** — Press **R** (configurable in Options > Controls > Villager Reset) to reset trades without clicking
- **Visual feedback** — Happy villager particles and sound play on successful reset
- **Fair play rules** — Reset is only available if the villager has **never traded** (0 XP, 0 uses on all offers). Once a trade has been made, the button disappears permanently for that villager
- **Cooldown** — A 2-second cooldown between resets prevents spam
- **Multiplayer ready** — All logic is handled server-side, safe to use on multiplayer servers
## How to use
1. Right-click a villager with a valid profession
2. Click **"Reset trades"** or press **R**
3. The villager's trades will be rerolled instantly
4. Repeat until you find the trades you want — as long as you haven't bought anything!
## Requirements
- Minecraft 26.1.2
- Fabric Loader 0.19.2+
- Fabric API 0.146.0+
## Notes
- Does **not** work on Nitwit or unemployed villagers
- Reset is **permanently blocked** once the villager has gained XP from a trade
- Works in both singleplayer and multiplayer