CustomNPCs Trade Table
A small Forge 1.20.1 addon for CustomNPCs(GBPort). https://www.curseforge.com/minecraft/mc-mods/customnpcs-unofficial
It adds a Trade Table that can read CustomNPCs trader clone data and automatically buy the selected trade with items supplied by hoppers, pipes, or other item transport mods.
Requirements CustomNPCs GBPort / CustomNPCs-Unofficial Features Adds an automatable Trade Table. Reads trader offers from customnpcs/clones. Uses a bound Supply List to select which NPC trader the table should use. Lets players choose one trade from the table UI. Accepts only the payment items required by the currently selected trade. Outputs purchased items from the bottom side of the table. Basic Usage Create and save a CustomNPCs trader clone. Place a Trade Table. Put a Supply List bound to that trader into the table. Select the trade you want to automate. Insert the required payment items through item transport. Extract the purchased items from the bottom. Configuration The config file is:
config/customnpcs_trade_table-common.toml Example:
currency_items = ["minecraft:emerald"]
[trade_table] trade_interval_ticks = 10
[supply_list_purchase] enable_direct_purchase = true price = 64 Options currency_items: Items accepted when buying a Supply List directly from an NPC. This does not affect Trade Table payment items. trade_table.trade_interval_ticks: How often the table attempts an automatic purchase. 20 ticks = 1 second. supply_list_purchase.enable_direct_purchase: Enables right-click purchase of Supply Lists from CustomNPCs traders. supply_list_purchase.price: Number of currency items consumed when direct Supply List purchase is enabled. Direct Supply List purchase is disabled by default. If it is disabled, Supply Lists must be provided by commands, quests, scripts, loot, or other pack-specific methods.

