1.14 once again saw a complete replacement of the trading system with the Village and Pillage update, changing numerous trades and introducing the villager experience system. Due to these changes, many trades from 14w02a (a 1.8 snapshot) to 19w09a (a 1.14 snapshot) are discontinued, alongside discontinuing some career data about the villagers themselves.
Mechanics
As villagers worked differently in these versions, this section serves as a brief overview for unfamiliar players.
Villagers will attempt to generate trades when they increase their career level. This occurs when the trade list is first generated by interacting with the villager for the first time and when the villager queues a trade generation. When this happens, the following occurs:
The villager will restock.
If the villager has a career or career level of 0 (all newly spawned villagers and villagers updated from before 1.8 will have this property), a new career is randomly chosen and the career level is set to 1.
Otherwise, the career level is increased by 1.
Each profession, career, and career level has a predetermined set of trades (seen below) that will always be added when a villager reaches that career level, with randomized item amounts. If the career level has no trades assigned, no trades are added.
Whenever the player makes a trade with a villager, the following occurs:
The trade's uses value is increased by 1.
If the trade's uses value is 1 or a random 1/5 chance is met, the villager queues a trade generation in 40 ticks.
If the trade's uses is equal to its maxUses, it will be locked.
When the villager restocks, the following occurs:
Any trade that is currently locked (uses is greater than or equal to maxUses) will have a random value from 2 to 12 added to that trade's maxUses.
When the player leaves the trading GUI, the trade generation counter will begin to count down. When it reaches 0, a trade generation will occur.
A bug with how villager data was serialized to NBT allowed for any trade generation that was queued to be forgotten. If the villager is unloaded and saved to disk before the trade generation counter reaches 0, the villager will not process the trade generation. This will result in the villager not gaining any trades or restocking, which can potentially softlock the villager by locking all trades.
A bug with how villagers tracked and initialized their career data allows for any villager to gain an arbitrary amount of trades from any of their profession's careers by resetting the career and career level.
Possible Trades
Legend
Availability
Meaning
Unavailable
The items of the trade are not obtainable
Quantities Unavailable
The items of the trade are available but only in different counts than the trades available 1.14+
Certain Quantities
The items of the trade are available and some of the quantities are available but other quantities are not
Available
The trade, including its quantities, are fully obtainable
Other
Special cases, check reference for more information
Professions
Farmer
The farmer profession includes four careers, farmer, fisherman, shepherd, and fletcher.
↑The quantity available in 1.14 - Present is 20 Wheat for 1 Emerald
↑Upon updating this will become a regular pumpkin instead of a carved pumpkin unless updated to 17w47a to 1.13-pre1 (1.13 snapshots), in which case it'll become a carved pumpkin trade
↑The quantity available in 1.14 - Present is 2 Emeralds for 1 Bow
↑Certain quantities of this trade are available in 1.14 - Present, however the first and second buy slots are reversed
Librarian
The librarian profession includes two careers, librarian and cartographer. The cartographer career was added in 16w39a (1.11 snapshot), unlike the other careers, which were all added in 14w02a (1.8 snapshot).
When updating older villagers to newer versions, certain precautions must be taken to preserve their trades. When loaded in any version from 19w11a (a 1.14 snapshot) to 1.14 Pre-Release 3, you must either trade at least once, as upon updating to 1.14 Pre-Release 4 or newer, villagers that have 0 experience and that do not have a workstation will revert to unemployed villagers, losing their trades. If a villager is directly updated from before 1.14 Pre-Release 4 to 1.14.1 Pre-Release 1 or newer, this step may be skipped if the villager has at least 4 trades or career level above 1.
Upon updating to 19w11a and above, if the villager still has a career ID of 0, they will always have a specific career assigned. Farmers will become farmers, librarians will become librarians, priests will become clerics, blacksmiths will become armorers, and butchers will become butchers. Additionally, all trades will gain the priceMultiplier:0.0f tag, which is unique to pre-1.14 trades. This means that no discount will ever be applied to these trades.
Villagers can be used to overstack items in buy slots from 19w13b (1.14 snapshot) to 1.14.1 though. This allows a librarian with a written book trade to overstack it, this trade is also possible with pre-1.8 villagers.
Uncraftable Items Crafting Statistic
Due to a glitch,[1] trades are counted as crafting that item. Because of this, after a 1.10 snapshot (see bug report)[test], the villager can be used to get crafting statistics for uncraftable items. These trades give discontinued crafting statistics: apple, bottle o' enchanting, enchanting book, ender pearl, flint, filled map (from explorer map), name tag, and saddle. All of these trades are also obtainable in 1.14+ except for the flint.
Max Uses Over Normal Limit
Prior to 1.14, the MaxUses for each trade would increase by 2-12 each time offers are refreshed. When updating to 1.14, the MaxUses remain the same, allowing you to create villagers that are able to trade hundreds of items before needing to restock.