promotional banner

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

Grand Artisan tier frameprofile avatar
  • 65
    Followers
  • 16
    Projects
  • 97.8M
    Downloads

More from possible_triangleView all

  • Carcinogenius project image

    Carcinogenius

    addon for oreganized which contains the april fools asbestos content

    • 9.0K
    • September 22, 2026
  • Create Slice & Dice project image

    Create Slice & Dice

    Making automation for Farmers Delight more sensible

    • 51.7M
    • September 20, 2026
  • Oreganized project image

    Oreganized

    Oreganized is a mod focusing on adding new ores and metals to Minecraft. Currently it adds, Lead and Silver as base metals and a new alloy known as Electrum.

    • 3.2M
    • September 18, 2026
  • Doom & Gloom project image

    Doom & Gloom

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

    • 388.6K
    • September 18, 2026
  • Carcinogenius project image

    Carcinogenius

    addon for oreganized which contains the april fools asbestos content

    • 9.0K
    • September 22, 2026
  • Create Slice & Dice project image

    Create Slice & Dice

    Making automation for Farmers Delight more sensible

    • 51.7M
    • September 20, 2026
  • Oreganized project image

    Oreganized

    Oreganized is a mod focusing on adding new ores and metals to Minecraft. Currently it adds, Lead and Silver as base metals and a new alloy known as Electrum.

    • 3.2M
    • September 18, 2026
  • Doom & Gloom project image

    Doom & Gloom

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

    • 388.6K
    • September 18, 2026