Visual Villager Trade Edit

Add custom villager trades with a GUI
Back to Files

treasureenchant-2.1.0.0-forge-1.20.1.jar

File nametreasureenchant-2.1.0.0-forge-1.20.1.jar
Uploader
sal_fishsal_fish
Uploaded
Nov 23, 2026
Downloads
12
Size
122.4 KB
Mod Loaders
Forge
File ID
9766329
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:visual-villager-trade-edit-1514718:9766329")

Learn more about Curse Maven

What's new

新增:
独立的 NBT 编辑页,名称、附魔、lore 编辑后插入nbt编辑框,且都能在 NBT 框里直接改,保存完全以框内容为准;
附魔选择页可指定任意等级;
lore 与物品名称编辑页带颜色面板,支持 16 种颜色、十六进制颜色与加粗、斜体、下划线、删除线、乱码、重置;
每个职业等级支持一键还原;
在界面里修改交易后立即生效,不需要重启游戏;

调整:
GUI 整体重构,分为职业、等级、交易表三层;
旧版的重载按钮移除,改为保存即自动重放交易表;
物品选择页与附魔选择页重写,支持搜索并建立索引;
黑名单改为按条目索引删除,旧 blacklist.json 自动迁移为 removed_trades.json;

 

Added:
Dedicated NBT page, where the name, enchantment and lore editors all write into the NBT box and everything can also be edited by hand in that box; saving uses the box content as the only source of truth;
Enchantment picker accepts any level;
Lore and name editors include a color panel with 16 colors, hex colors, and bold / italic / underline / strikethrough / obfuscated / reset;
One-click restore for every profession level;
Changes made in the GUI take effect immediately, no restart required.

Changed:
GUI reworked into three layers: profession, level and trade list;
The old reload button is removed, saving now replays the trade table automatically;
Item picker and enchantment picker rewritten with search and indexing;
Blacklist replaced by per-index removal, and the legacy blacklist.json is migrated to removed_trades.json automatically.

This mod has no related projects