Data Trades

Allows easy customization of villager trades using datapacks

Data Trades

This mod adds the ability for players, serverowners or modpack creators to overwrite villager trades using datapacks. The amount of trades per level and the actual items traded can be customized using json files. A command for development purposes called /villagers refresh will manually trigger a re-asign of trades to all loaded villagers.

Folder Structure

Using a datapack, the trades of a specific villager profession can be overwritten by creating a JSON file following this pattern:

data/[namespace]/villager/professions/[path].json

[namespace] and [path] should be overwritten by the specific villager professions ID. For example, to create trades for the minecraft:fletcher profession, a file under data/minecraft/villager/professions/fletcher.json should be created.

Examples

Datapacks with examples can be found here.

JSON-Schema

More information about the actual JSON schema and properties can be found here

The Data Trades Team

profile avatar
  • 60
    Followers
  • 16
    Projects
  • 90.4M
    Downloads

More from possible_triangleView all

  • Nirvana project image

    Nirvana

    • 415.2K
    • Mods

    Nirvana is a mod that aims to add Hemp and Herb in a vanilla friendly way! Get ready to make some Herb Rolled in Paper, Oddly Shaped Glasses, Herbal Salves, Burlap and much more.

    • 415.2K
    • May 29, 2026
    • Mods
    • +2
  • Dye Depot project image

    Dye Depot

    • 513.5K
    • Mods

    Enhances your Minecraft experience with 16 vibrant new dyes and various other tweaks

    • 513.5K
    • May 21, 2026
    • Mods
    • +4
  • Dye The World project image

    Dye The World

    • 39.9K
    • Mods

    Compatiblity for the Dye Depot mod

    • 39.9K
    • May 17, 2026
    • Mods
    • +1
  • Doom & Gloom project image

    Doom & Gloom

    • 385.4K
    • Mods

    Addon for the mod Oreganized! Adding Vigil Candles, Hollers, Sepulchers, Bone Piles and a new villager called Gravetender!

    • 385.4K
    • April 19, 2026
    • Mods
    • +2
  • Nirvana project image

    Nirvana

    • 415.2K
    • Mods

    Nirvana is a mod that aims to add Hemp and Herb in a vanilla friendly way! Get ready to make some Herb Rolled in Paper, Oddly Shaped Glasses, Herbal Salves, Burlap and much more.

    • 415.2K
    • May 29, 2026
    • Mods
    • +2
  • Dye Depot project image

    Dye Depot

    • 513.5K
    • Mods

    Enhances your Minecraft experience with 16 vibrant new dyes and various other tweaks

    • 513.5K
    • May 21, 2026
    • Mods
    • +4
  • Dye The World project image

    Dye The World

    • 39.9K
    • Mods

    Compatiblity for the Dye Depot mod

    • 39.9K
    • May 17, 2026
    • Mods
    • +1
  • Doom & Gloom project image

    Doom & Gloom

    • 385.4K
    • Mods

    Addon for the mod Oreganized! Adding Vigil Candles, Hollers, Sepulchers, Bone Piles and a new villager called Gravetender!

    • 385.4K
    • April 19, 2026
    • Mods
    • +2