1.19.4 / 1.20.1 / 1.21.1 / 26.1: No Dependency
1.19.2 Dependency: L2Library
This mod adds a button in the trading menu that allows player to refresh the trade of an un-traded villager with one click. This is equivalent to breaking and placing the workstation again, but saves player some time.
Refresh can also be bound to a key, allowing faster refresh.
(1.20.1+) If you jave JEI/EMI/REI installed, you can hover over an item in JEI/EMI/REI and press refresh key. It will keep refreshing until the hovered item appears in the trade. Helps you to get the enchantment book you want.

Enchantment Table/Trade Control (1.20.1 only)
In 2.4.2, you can also control whether to allow enchantments to be permitted in enchantment tables and trades (note that you can only restrict them if they are allowed originally. If they are not allowed at the beginning, you cannot do anything about it). It supports whitelist/blacklist in mod ID or enchantment ID, making it easier to control.
All Versions
+ Add Version- Fix refresh lock in multi-player
- Fix refresh lock in multi-player
- Fix rare startup crash
- Fix refresh lock in multi-player
- Fix rare startup crash
- Support 26.1.1
- Add EMI / REI integration for refresh lock
- Add REI integration for refresh lock
- Add "Refresh until an item appear" feature as JEI integration
- Add refresh until an item appear feature for JEI integration
- Add refresh until an item appear feature for JEI/EMI integration
- Port to 26.1
- Add back enchantment feature display (default off)
- the enchantment blacklisting feature is not ported yet
- add option to enable refresh even after traded. Default off