Data Trader
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 0.1% endorsement rate
- 🏆 #450 of 602 adventure mods in this game by downloads
📋 About This Mod
(https://wiki.chaotictrials.de/porting/version/26.1/) **(https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine)** # Data Trader A mod which adds a new trader to the game. ## Defining the trades ### File structure The trader can receive an ID for a trader offers "recipe". This is a list of single `trader offer`s. An example file could look like this: <details> <summary>1.20.1</summary> ```json { "Offers": }" }, "rewardExp": false, "xp": 0 } ] } ``` </details> <details open> <summary>1.21.1</summary> ```json { "Offers": } ``` </details> This example includes only one merchant offer. The trader will sell the item in `sell`. The player needs to provide the item in `buy` and `buyB` to receive the item. `maxUses` is the amount of times the player can use this trade before the trader needs to restock. If `rewardExp` is true, the player will receive xp points for each trade, amount defined in `xp`. <br> The following values are required: - `buy` - `sell` The default values are: | Name | Default value | |:-------------------:|:---------------:| | `buyB` | Air | | `rewardExp` | false | | `xp` | 0 | ### Where to put it in? You use a data pack to provide these files. These are located at `<modid>/trader_offers/`. An example can be found (https://github.com/MelanX/DataTrader/tree/HEAD/src/main/resources/data/datatrader/trader_offers/). ### How to use? You spawn the trader using the `/summon` command, or by using the spawn egg. After this, you use the command `/datatrader setOffer @e <modid>:<path>` to set the recipe. This can also be done by datapacks. For a normal trader, I recommend setting `NoAI` to `true`. You can also summon a trader with a specific trading table by using the command `/datatrader summon ~ ~ ~ <offer_id> <NoAI>` ### Setting custom skin overlay Just put a texture to `<modid>:textures/entity/trader/<offer_id path>.png`. This texture should be something like the profession overlay texture, e.g. `minecraft:textures/entity/villager/profession/cleric.png`. You are allowed to put this mod in any modpack you like.
(https://wiki.chaotictrials.de/porting/version/26. 1/) **[](https://vshymanskyy.github.io/StandWithUkraine)** # Data Trader
A mod which adds a new trader to the game.
## Defining the trades ### File structure The trader can receive an ID for a trader offers "recipe". This is a list of single `trader offer`s. An example file could look like this:
1. 20. 1
```json { "Offers": [ { "buy": { "tag": "forge:gems/diamond", "count": 3 }, "buyB": { "item": "minecraft:wooden_pickaxe" }, "sell": { "item": "minecraft:diamond_pickaxe", "nbt": "{Damage:0,Enchantments:[{id:\"minecraft:efficiency\",lvl:2},{id:\"minecraft:unbreaking\", lvl:10}]}" }, "rewardExp": false, "xp": 0 } ] } ```
1. 21. 1
```json { "Offers": [ { "buy": { "count": 1, "items": { "item": "minecraft:wooden_pickaxe" } }, "buyB": { "count": 3, "items": { "tag": "c:gems/diamond" } }, "sell": { "components": { "minecraft:enchantments": { "levels": { "minecraft:efficiency": 2, "minecraft:unbreaking": 10 } } }, "count": 1, "id": "minecraft:diamond_pickaxe" } } ] } ```
This example includes only one merchant offer. The trader will sell the item in `sell`.
The player needs to provide the item in `buy` and `buyB` to receive the item. `maxUses` is the amount of times the player can use this trade before the trader needs to restock.
If `rewardExp` is true, the player will receive xp points for each trade, amount defined in `xp`.
The following values are required:
- `buy`
- `sell`
The default values are:
| Name | Default value | |:-------------------:|:---------------:| | `buyB` | Air | | `rewardExp` | false | | `xp` | 0 |
### Where to put it in?
You use a data pack to provide these files. These are located at `
### How to use?
You spawn the trader using the `/summon` command, or by using the spawn egg. After this, you use the command
`/datatrader setOffer @e
You can also summon a trader with a specific trading table by using the
command `/datatrader summon ~ ~ ~
### Setting custom skin overlay
Just put a texture to `
📊 Mod Details
- Game
- Minecraft Mods
- Author
- MelanX
- Version
- 21.1.0
- Downloads
- 6,765
- Endorsements
- 6
- Category
- adventure
- Created
- 7/26/2022
- Updated
- 1/10/2026
- Game Versions
- 1.21.1
- Tags
- adventure
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Data Trader support?
The author lists 1.21.1. Other versions may work but are untested by the author.
What is the latest version of Data Trader?
Version 21.1.0, published 2026-01-10 with 6,765 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await