Trade Remover
I felt inspired this morning, and many people have been asking if my mod Custom Villager Trades could remove trades. It doesn't, that is why I created this mod.
Trade Remover is a simple mod that allows you to remove trades.
This mod is not comprehensive. All it does is look at the offered item, and the two requested items. If everything matches then it will stop the villager from picking that trade.
The mod is easy to use, simply go into op mode and use the command below.
Command format:
/removeTrade villager <profession> <offerItemKey> <primaryRequestItemKey> [secondaryRequestItemKey (optional)]
If you want to undo a removed trade, you will need to go to the config file and manually remove it (config/trade_remover.json)
Example commands:
This command will stop the farmer from selling wheat for emerald
/removeTrade villager minecraft:farmer minecraft:emerald minecraft:wheat
This command will stop the librarian from selling all enchanted books
/removeTrade villager minecraft:librarian minecraft:enchanted_book minecraft:emerald minecraft:book
Disclaimer
I made this mod in 4 hours. It is not comprehensive, you will probably find bugs or incompatibility issues.

