Villager Trades

From Harvest Festival
Jump to navigation Jump to search

Penguin-Lib has the ability to add villager trades using its database system along with datapacks. Simply place a csv in data/NAMESPACE/database/villager_trades.csv that looks like the following example.

Profession,Tier,Input Item,Input Amount,Output Item,Output Amount,Max Trades,Experience,Price Multiplier
minecraft:farmer,1,minecraft:emerald,3,minecraft:diamond,12,32,16,2.0
minecraft:farmer,1,minecraft:emerald,5,minecraft:dirt,8,32,16,2.0
minecraft:farmer,1,minecraft:emerald,7,minecraft:stone,16,32,16,2.0