Custom Villager Trades: Version Information

Current Mod Version:
1.0
Supported Modloaders:
NeoForge
Fabric
Maintained MC Versions:
1.21.1



Custom Villager Trades Heading

About

I felt inspired one 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.

Modpacks

You can use this mod in your modpack.

My Mods

If you like this mod, check out my other mods here!

Please consider supporting me

If you like my work, please consider donating some money through Ko-Fi to show your appreciation :)