The new snapshot (26.1 Snapshot 1) allowed for easier modifications of Villager trades but is lacking a feature that would be really helpful: biome specific villager trades.
As of right now, trades are located individually in folders like this:
data \ minecraft \ villager_trade \ [Villager_Profession] \ [Profession_Level]
I can think of 2 ways of doing biome specific trades with the current system:
1. Adding a [Biome] folder along the way to make each trades biome specific.
Pros: create unique trade files for each biome & profession allowing customisation of said trades
ex.: Farmer villagers from plain village buy less wheat or for a less attractive price as this is a "common ressource" in this biome while desert farmer villagers would buy more or for a better price as it is "harder" to obtain there.
Cons: multiple considerably the amount of trade files for no advantages if all your trades are generic
2. Adding a "Biomes" tag inside each trades to list which biome specific villagers will offer this trade.
Pros: significantly reduce the amount of files as long as trades stay generic as while still being easy to modify.
Cons: makes datapack files slightly more chaotic as you would need multiples copies of a same files to make each trade biome specific.
ex.: wheat_emerald.json becomes wheat_emerald_plain.json + wheat_emerald_jungle.json + etc...
NPC experimentation did introduce this concept by making some enchants biome specific but it would be interesting to have the concept go further.
Please sign in to leave a comment.
0 Comments