跳到正文

Trade Remover

作者:SpaceCat_97

Stop villagers from trading specific items

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

常见问题

Trade Remover 支持哪些 Minecraft 版本?

Trade Remover 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Trade Remover 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

SpaceCat_97 的其他作品

查看全部 →