Back to mods
Villager Trade Lock project artwork

CurseForge · Minecraft mod

Villager Trade Lock

Villagers remember their trades per profession, so breaking and replacing a job site no longer rerolls them. Server-side only.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Villager Trade Lock release should I use?

Updated 3 days ago
Latest stable file villagertradelock-neoforge-26.3-1.0.0.jar
Game version 26.3
Loader NeoForge

Villager Trade Lock villagertradelock-neoforge-26.3-1.0.0.jar targets 26.3 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Villager Trade Lock required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Villager Trade Lock villagertradelock-neoforge-26.3-1.0.0.jar need?

villagertradelock-neoforge-26.3-1.0.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Villager Trade Lock without breaking your instance.

Built for Villager Trade Lock villagertradelock-neoforge-26.3-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use villagertradelock-neoforge-26.3-1.0.0.jar. It targets 26.3 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside villagertradelock-neoforge-26.3-1.0.0.jar. It opens that exact file at the source.

About this project

What does Villager Trade Lock add?

Villager Trade Lock

Break and replace a job site block without losing a villager's trades.

In vanilla Minecraft, breaking a villager's job site block throws its trades away, and the next job site rolls a new random set. Villager Trade Lock gives every villager a memory of its trades per profession. Give it the same kind of job site again and it gets exactly the same trades back, so rerolling by breaking and replacing a lectern no longer works.

Features

  • Trades survive a lost job. Breaking a villager's job site block no longer throws its trades away. Give it the same kind of block again, here or anywhere else, and the old trades come back.
  • One memory per profession. A villager that goes from librarian to armorer and back to librarian gets its librarian trades back. Its armorer trades are rolled once and remembered too.
  • Professions from other mods. The memory is keyed by profession, so professions added by other mods are remembered the same way.
  • Survives zombies. A villager that is turned into a zombie villager and cured keeps its memory.
  • Prices stay vanilla. Reputation, discounts, demand and Hero of the Village work exactly as in vanilla.
  • Server-side only. Vanilla clients can join, and there is no config file.

How it works

  • When the memory is taken. The moment a villager loses its profession, the trades it holds are stored for that profession, replacing anything stored for it before.
  • When the memory is used. The moment a villager takes a profession it has a memory for, those trades become its trades and vanilla does not roll new ones. A profession it has never had still rolls its trades the vanilla way.
  • Only villagers that have never traded. In vanilla, a villager loses its profession only while it is still a Novice with no trading experience. Once someone has traded with it, it keeps its profession and trades for good, with or without this mod.
  • Unemployed villagers and nitwits. They have no trades, so there is nothing to remember.
  • Existing worlds. Villagers that already exist are covered as soon as the mod is installed. Their memory fills up the first time they lose a profession afterwards.

Better together

  • Villager Trade Peek: the future trades it previews are remembered and restored too, so the preview does not change when a job site is broken and replaced.
  • Villager Trade Swap: swapped trades are part of the villager's trades, so they are remembered and come back as well.
  • Villager Cure Discounts: cure discounts apply to remembered trades exactly as to any other trades.

All of them are optional. Villager Trade Lock works on its own.

Versions

Minecraft Loader Requires File
26.3 NeoForge 26.3.0.0-beta+ (stable 26.3.0.76+) Java 25 villagertradelock-neoforge-26.3-1.0.0.jar
26.3 Forge 66.0.0+ Java 25 villagertradelock-forge-26.3-1.0.0.jar
26.3 Fabric Loader 0.18.2+ Java 25 villagertradelock-fabric-26.3-1.0.0.jar
26.2 NeoForge 26.2.0.0-beta+ (stable 26.2.0.57+) Java 25 villagertradelock-neoforge-26.2-1.0.0.jar
26.2 Forge 65.0.0+ Java 25 villagertradelock-forge-26.2-1.0.0.jar
26.2 Fabric Loader 0.18.2+ Java 25 villagertradelock-fabric-26.2-1.0.0.jar
26.1 - 26.1.2 NeoForge 26.1.0.1-beta+ (stable 26.1.2.71+) Java 25 villagertradelock-neoforge-26.1-26.1.2-1.0.0.jar
26.1 - 26.1.2 Forge 62.0.0+ (62 = 26.1, 63 = 26.1.1, 64 = 26.1.2) Java 25 villagertradelock-forge-26.1-26.1.2-1.0.0.jar
26.1 - 26.1.2 Fabric Loader 0.18.2+ Java 25 villagertradelock-fabric-26.1-26.1.2-1.0.0.jar
1.21.11 NeoForge 21.11.42+ villagertradelock-neoforge-1.21.11-1.0.0.jar
1.21.11 Forge 61.0.1+ villagertradelock-forge-1.21.11-1.0.0.jar
1.21.11 Fabric Loader 0.17.3+ villagertradelock-fabric-1.21.11-1.0.0.jar
1.21 - 1.21.1 NeoForge 21.1.1+ villagertradelock-neoforge-1.21.1-1.0.0.jar
1.21 - 1.21.1 Forge 52.0.0+ villagertradelock-forge-1.21.1-1.0.0.jar
1.21 - 1.21.1 Fabric Loader 0.15.10+ villagertradelock-fabric-1.21-1.21.1-1.0.0.jar
1.20 - 1.20.1 Forge 47.1.0+ (also NeoForge 1.20.1) villagertradelock-forge-1.20.1-1.0.0.jar
1.20 - 1.20.1 Fabric Loader 0.14.21+ villagertradelock-fabric-1.20-1.20.1-1.0.0.jar

Client and server

Install the mod on the server only. It adds no items, blocks, entities, network messages or registries, so vanilla clients and clients without the mod can join and see the remembered trades in the normal trading screen. Installing it on a client as well does no harm. In singleplayer, install it in your own game. Fabric API is not needed.

FAQ

What happens if I remove the mod? The world opens normally. The memory is stored on each villager under the mod's own key, and vanilla ignores it. Villagers keep their current trades, and from then on a villager that loses its profession rolls new trades the vanilla way.

Can I still reroll a villager that nobody has traded with? Only into a profession it has never had. Breaking and replacing the same kind of job site always brings back the same trades.

Does it work with mods that change how trades are picked? Yes. They still decide the trades for a profession a villager has never had. Once a profession is remembered, the remembered trades come back instead.

Can I use it in my modpack? Yes, go ahead. The mod is licensed under MIT.

Links

When reporting a bug, please include your Minecraft version, loader, mod version and your log file.

Project description from CurseForge.

Pick your setup

Villager Trade Lock by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

26 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Villager Trade Lock versions and loaders

17 of 17 releases match

Looking for an older file? The official CurseForge project page is in Resources.