Mineuniverse
Log in Register
Mods

Data Trades

Allows easy customization of villager trades using datapacks
by possible_triangle
Download Claim this project
3,202 downloads
0 likes
Updated Jun 30, 2026
0 hypes

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

Neoforge 3.0.1
MC NeoForge, 1.21.1
Beta 2024-08-20 Get
Fabric 3.0.1
MC Fabric, 1.21.1
Beta 2024-08-20 Get
Fabric 3.0.0
MC Fabric, 1.21.1
Beta 2024-08-19 Get
Neoforge 3.0.0
MC NeoForge, 1.21.1
Beta 2024-08-19 Get

More from possible_triangle

Skygrid
88,629
Carcinogenius
7,237
Create Slice & Dice
48,024,995
Brazier
4,523,852
Dye The World
45,015
Thigh highs etc.
34,789

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579