HomeJavaModsShifting-Wares: VillagerConfig Addon
Shifting-Wares: VillagerConfig Addon
ModsJava

Shifting-Wares: VillagerConfig Addon

by Estecka · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.5–1.21.11⬇ Download for 1.21.4⬇ Download for 1.21.3⬇ Download for 1.21–1.21.2⬇ Download for 1.20.5–1.20.6⬇ Download for 1.20.1–1.20.4
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Shifting-Wares: VillagerConfig Addon

Compatibility addon that enables ShiftingWares rerolls to use the custom trades and layouts defined by VillagerConfig.

Shifting Wares v2

In order for Shifting Ware's map caching to work properly, Exploration Map trades must use the same item-naming convention as vanilla trades. Behaviour is undefined otherwise.

Shifting Wares v3

With this addon, map persistence can be defined in the trade themselves, alongside to the costs and result:

Example:

{
	"shiftingwares:isPersistent": true,
	"shiftingwares:tradeId": "minecraft:on_ocean_explorer_maps",
	"cost_a": { "type": "minecraft:item", "name": "minecraft:emerald" },
	"cost_b": { "type": "minecraft:item", "name": "minecraft:compass" },
	"result": {
		"type": "minecraft:item",
		"name": "minecraft:map",
		"functions": [
			{
				"decoration": "minecraft:monument",
				"destination": "minecraft:on_ocean_explorer_maps",
				"function": "minecraft:exploration_map",
				"search_radius": 100
			}
		],
	}
}

This data will not be present by default when VillagerConfig generates data from vanilla trades, but map trades will still be made persistent even without it. Setting the trade Id is still recommended to avoid duplicatas. The trade Id is not required to match the map's destination; this example is just how ShiftingWares handles them without villager config.

Versions Coverage

Minecraft VC SW Addon Status
1.21.11
1.21.5
v4.4 v3 v2.1+1.21.5 Maintained
1.21.4 v4.4 v3 v2.1+1.21.4 Maintained
1.21.3
1.21.2
v4.3 v3 v2.0+1.21.3 Discontinued
1.21.1
1.21.0
v4.4 v3 v2.1+1.21.4 Maintained
1.20.6
1.20.5
v4.1 v2 v1.0+1.20.6 Discontinued
1.20.4
1.20.0
v4.1 v2 v1.0+1.20.2 Discontinued
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more