Download Custom Villager Trades — Minecraft Mods — MetaMods

Custom Villager Trades

Active

Downloads

0

Last update

1 year ago

Versions

1.16.5 — 1.20.4
Server
Fabric
Forge
Game mechanics
Control
Utils

Custom Villager Trades

About the Modification

Custom Villager Trades provides modpack creators with extended capabilities for configuring trading with villagers. The mod offers numerous new features allowing fine control over available exchange items, including the ability to randomize items, their quantities, enchantments, and other parameters.

How It Works

The modification works by reading JSON configuration files from the config/custom villager trades directory. Upon first launch of the mod, this folder will be created automatically with a sample configuration file inside. You'll need to create the remaining files yourself - it's recommended to use one file per profession.

After loading and verifying the trade settings, the mod intercepts the standard trade loading event and adds custom offers (with the option enabled, it can also remove standard trades).

Main Features

  • Fully customizable trade creation system using JSON configurations
  • Modifying trade for any profession (except nitwit) through simple named configuration files
  • Setting up "global" trades applied to all traders (file "all.json")
  • Applying trades depending on villager level
  • Full control over all aspects of the trade: trading experience, discounts, and other parameters
  • Adding enchantments to any trade items, including creating unique items
  • Three ways to randomize enchantments
  • Blacklist of enchantments for the random selection function
  • Support for items and blocks from other mods
  • Working with professions from other modifications
  • Ability to remove all standard trades (for each profession separately)
  • Modifying and replacing trade with wandering traders
  • Customizable potion trading, including random selection and blacklist
  • Custom suspicious stew trades
  • Custom treasure map trading (with support for structures from mods)
  • Custom tipped arrow trades (with support for potion effects from mods)
  • Ability to color custom potions and tipped arrows
  • Working with custom NBT tags (basic and advanced)
  • Experimental commands: /reloadCVT, /exportCVT, /addCVT, /removeCVT

Documentation

The complete JSON specification for the latest version of Custom Villager Trades is available in the wiki. Please note: if you're using a non-latest version of the mod, some features may be unavailable.

Support

Before seeking help, it's recommended to review the documentation. If you still have questions, you can create an issue on GitHub or ask in Discord.

Usage in Modpacks

You can freely use this mod in your Minecraft modpacks.

Project members
SpaceCat97

SpaceCat97

Developer

lingyuan23333

lingyuan23333

Created: 7 Nov 2023

ID: 4999