Java Edition:Pre-1.14 Villager

Enchanted leather.png

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:

  1. The villager will restock.
  2. 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.
  3. Otherwise, the career level is increased by 1.
  4. 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:

  1. The trade's uses value is increased by 1.
  2. 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.
  3. If the trade's uses is equal to its maxUses, it will be locked.

When the villager restocks, the following occurs:

  1. 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.

Careers

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 Wheat 1.png Wheat 18-22 Emerald JE1 BE1.png Emerald 1 Certain Quantities[Farmer 1]
Potato 1.png Potato 15-19 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Carrot 2.png Carrot 15-19 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 1 Bread 2.png Bread 2-4 Quantities Unavailable
2 Pumpkin 1.png Pumpkin[Farmer 2] 8-13 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 1 Pumpkin Pie 1.png Pumpkin Pie 2-3 Quantities Unavailable
3 Melon Block 1.png Melon Block 7-12 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 1 Apple 2.png Apple 5-7 Quantities Unavailable
4 Emerald JE1 BE1.png Emerald 1 Cookie 1.png Cookie 6-10 Quantities Unavailable
Emerald JE1 BE1.png Emerald 1 Cake 1.png Cake 1 Available
  1. The quantity available in 1.14 - Present is 20 Wheat for 1 Emerald
  2. 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

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 String 1.png String 15-20 Emerald JE1 BE1.png Emerald 1 Certain Quantities[Fisherman 1]
Coal.png Coal 16-24 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Raw Fish.png Raw Cod 6 Emerald JE1 BE1.png Emerald 1 Cooked Fish.png Cooked Cod 6 Unavailable[Fisherman 2]
Raw Salmon 2.png Raw Salmon 6 Emerald JE1 BE1.png Emerald[Fisherman 3] 1 Cooked Salmon 2.png Cooked Salmon 6 Unavailable[Fisherman 2]
2 Emerald JE1 BE1.png Emerald 7-8 Enchanted Fishing Rod.gif Enchanted Fishing Rod[Fisherman 4] 1 Available
  1. The quantity available in 1.14 - Present is 20 String for 1 Emerald
  2. 2.0 2.1 This trade is available in 1.14 - Present, however the first and second buy slots are reversed
  3. This trade was added in 17w47a (1.13), unlike the other trades
  4. A random enchantment of level 5-19 is assigned

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 White Wool 1.png White Wool 16 - 22 Emerald JE1 BE1.png Emerald 1 Certain Quantities[Shepherd 1]
Emerald JE1 BE1.png Emerald 3-4 Shears 1.png Shears 1 Quantities Unavailable
2 Emerald JE1 BE1.png Emerald 1-2 White Wool 1.png White Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Orange Wool 2.png Orange Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Magenta Wool 2.png Magenta Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Light Blue Wool 2.png Light Blue Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Yellow Wool 2.png Yellow Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Lime Wool 2.png Lime Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Pink Wool 2.png Pink Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Gray Wool 2.png Gray Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Light Gray Wool 2.png Light Gray Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Cyan Wool 2.png Cyan Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Purple Wool 2.png Purple Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Blue Wool 2.png Blue Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Brown Wool 2.png Brown Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Green Wool 2.png Green Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Red Wool 2.png Red Wool 1 Certain Quantities[Shepherd 2]
Emerald JE1 BE1.png Emerald 1-2 Black Wool 2.png Black Wool 1 Certain Quantities[Shepherd 2]
  1. The quantity available in 1.14 - Present is 18 White Wool for 1 Emerald
  2. 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 The quantity available in 1.14 - Present is 1 Emerald for 1 Assorted Color Wool

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 String 1.png String 15-20 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 1 Arrow 1.png Arrow 8-12 Quantities Unavailable
2 Emerald JE1 BE1.png Emerald 2-3 Bow 2.png Bow 1 Certain Quantities[Fletcher 1]
Gravel 4.png Gravel 10 Emerald JE1 BE1.png Emerald 1 Flint 2.png Flint 6-10 Unavailable[Fletcher 2]
  1. The quantity available in 1.14 - Present is 2 Emeralds for 1 Bow
  2. 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).

Careers

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 Paper 1.png Paper 24-36 Emerald JE1 BE1.png Emerald 1 Certain Quantities[Librarian 1]
Book 1.png Book 1 Emerald JE1 BE1.png Emerald 5-64 Enchanted Book Icon.gif Enchanted Book[Librarian 2] 1 Unavailable[Librarian 3]
2 Book 1.png Book 8-10 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 10-12 Compass 1.png Compass 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 3-4 Bookshelf 2.png Bookshelf 1 Quantities Unavailable
3 Written Book Icon.gif Written Book 2 Emerald JE1 BE1.png Emerald 1 Unavailable
Emerald JE1 BE1.png Emerald 10-12 Clock 2.png Clock 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 1 Glass 3.png Glass 3-5 Certain Quantities[Librarian 4]
4 Book 1.png Book 1 Emerald JE1 BE1.png Emerald 5-64 Enchanted Book Icon.gif Enchanted Book[Librarian 2] 1 Unavailable[Librarian 3]
5 Book 1.png Book 1 Emerald JE1 BE1.png Emerald 5-64 Enchanted Book Icon.gif Enchanted Book[Librarian 2] 1 Unavailable[Librarian 3]
6 Emerald JE1 BE1.png Emerald 20-22 Name Tag 1.png Name Tag[Librarian 5] 1 Certain Quantities[Librarian 6]
  1. The quantity available in 1.14 - Present is 24 Paper for 1 Emerald
  2. 2.0 2.1 2.2 A single random enchantment is applied
  3. 3.0 3.1 3.2 This trade is available in 1.14 - Present, however the first and second buy slots are reversed
  4. The quantity available in 1.14 - Present is 1 Emerald for 4 Glass
  5. This trade was added in 14w03b
  6. The quantity available in 1.14 - Present is 20 Emeralds for 1 Nametag

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 Paper 1.png Paper 24-36 Emerald JE1 BE1.png Emerald 1 Certain Quantities[Cartographer 1]
2 Compass 1.png Compass 1 Emerald JE1 BE1.png Emerald 1 Available
3 Emerald JE1 BE1.png Emerald 7-11 Empty Map 1.png Empty Map 1 Certain Quantities[Cartographer 2]
4 Compass 1.png Compass 1 Emerald JE1 BE1.png Emerald 12-20 Ocean Explorer Map 1.png Ocean Explorer Map 1 Unavailable[Cartographer 3]
Compass 1.png Compass 1 Emerald JE1 BE1.png Emerald 16-28 Woodland Explorer Map 1.png Woodland Explorer Map 1 Unavailable[Cartographer 4]
  1. The quantity available in 1.14 - Present is 24 Paper for 1 Emerald
  2. The quantity available in 1.14 - Present is 7 Emerald for 1 Empty Map
  3. Certain quantities of this trade are available in 1.14 - Present, however the first and second buy slots are reversed
  4. This trade is available in 1.14 - Present in different quantities, however the first and second buy slots are reversed

Priest

The priest profession includes only one career, which is the cleric.

Career

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 Rotten Flesh 2.png Rotten Flesh 36-40 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Gold Ingot 2.png Gold Ingot 8-10 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
2 Emerald JE1 BE1.png Emerald 1 Redstone Dust 1.png Redstone Dust 1-4 Certain Quantities[Cleric 1]
Emerald JE1 BE1.png Emerald 1 Lapis Lazuli 1.png Lapis Lazuli 1-2 Certain Quantities[Cleric 2]
3 Emerald JE1 BE1.png Emerald 4-7 Ender Pearl 2.png Ender Pearl 1 Certain Quantities[Cleric 3]
Emerald JE1 BE1.png Emerald 1 Glowstone 2.png Glowstone 1-3 Quantities Unavailable
4 Emerald JE1 BE1.png Emerald 3-11 Bottle o Enchanting Icon.gif Bottle o' Enchanting 1 Certain Quantities[Cleric 4][Cleric 5]
  1. The quantity available in 1.14-Present is 1 Emerald for 2 Redstone.
  2. The quantity available in 1.14-Present is 1 Emerald for 1 Lapis Lazuli.
  3. The quantity available in 1.14-Present is 5 Emeralds for 1 Ender Pearl.
  4. The quantity available in 1.14-Present is 3 Emeralds for 1 Bottle o' Enchanting.
  5. Unobtainable from 14w02a to 14w30c due to a bug, see Missing Bottle O' Enchanting Trade.

Blacksmith

The blacksmith profession includes three careers, armorer, weaponsmith, and toolsmith.

Careers

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 Coal.png Coal 16-24 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 4-6 Iron Helmet 1.png Iron Helmet 1 Certain Quantities[Armorer 1]
2 Iron Ingot 2.png Iron Ingot 7-9 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 10-14 Iron Chestplate 1.png Iron Chestplate 1 Quantities Unavailable
3 Diamond 2.png Diamond 3-4 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 16-19 Enchanted Diamond Chestplate Icon.gif Enchanted Diamond Chestplate[Armorer 2] 1 Quantities Unavailable
4 Emerald JE1 BE1.png Emerald 5-7 Chainmail Boots 1.png Chainmail Boots 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 9-11 Chainmail Leggings 1.png Chainmail Leggings 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 5-7 Chainmail Helmet 1.png Chainmail Helmet 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 11-15 Chainmail Chestplate 1.png Chainmail Chestplate 1 Quantities Unavailable
  1. The quantity available in 1.14 - Present is 5 Emeralds for 1 Iron Helmet
  2. A random enchantment of level 5-19 is assigned

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 Coal.png Coal 16-24 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 6-8 Iron Axe 4.png Iron Axe 1 Quantities Unavailable
2 Iron Ingot 2.png Iron Ingot 7-9 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 9-10 Enchanted Iron Sword Icon.gif Enchanted Iron Sword[Weaponsmith 1] 1 Available
3 Diamond 2.png Diamond 3-4 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 12-15 Enchanted Diamond Sword Icon.gif Enchanted Diamond Sword[Weaponsmith 1] 1 Certain Quantities[Weaponsmith 2]
Emerald JE1 BE1.png Emerald 9-12 Enchanted Diamond Axe Icon.gif Enchanted Diamond Axe[Weaponsmith 1] 1 Quantities Unavailable
  1. 1.0 1.1 1.2 A random enchantment of level 5-19 is assigned
  2. The quantities available in 1.14 - Present are 13-27 Emeralds for 1 Enchanted Diamond Sword

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 Coal.png Coal 16-24 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 5-7 Enchanted Iron Shovel.gif Enchanted Iron Shovel[Toolsmith 1] 1 Certain Quantities[Toolsmith 2]
2 Iron Ingot 2.png Iron Ingot 7-9 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 9-11 Enchanted Iron Pickaxe Icon.gif Enchanted Iron Pickaxe[Toolsmith 1] 1 Available
3 Diamond 2.png Diamond 3-4 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 12-15 Enchanted Diamond Pickaxe Icon.gif Enchanted Diamond Pickaxe[Toolsmith 1] 1 Quantities Unavailable
  1. 1.0 1.1 1.2 A random enchantment of level 5-19 is assigned
  2. The quantities available in 1.14 - Present are 7-21 Emeralds for 1 Enchanted Iron Shovel

Butcher

The butcher profession includes two careers, butcher and leatherworker.

Careers

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 Raw Porkchop 2.png Raw Porkchop 14-18 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Raw Chicken 2.png Raw Chicken 14-18 Emerald JE1 BE1.png Emerald 1 Certain Quantities[Butcher 1]
2 Coal.png Coal 16-24 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 1 Cooked Porkchop 3.png Cooked Porkchop 5-7 Certain Quantities[Butcher 2]
Emerald JE1 BE1.png Emerald 1 Cooked Chicken 2.png Cooked Chicken 6-8 Certain Quantities[Butcher 3]
  1. The quantity available in 1.14 - Present is 14 Raw Chicken for 1 Emerald
  2. The quantity available in 1.14 - Present is 1 Emerald for 5 Cooked Porkchops
  3. The quantity available in 1.14 - Present is 1 Emerald for 8 Cooked Chicken

Tier Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.14 - Present Status
1 Leather 1.png Leather 9-12 Emerald JE1 BE1.png Emerald 1 Quantities Unavailable
Emerald JE1 BE1.png Emerald 2-4 Leather Pants 3.png Leather Pants 1 Unavailable[Leatherworker 1]
2 Emerald JE1 BE1.png Emerald 7-12 Enchanted Leather Tunic.gif Enchanted Leather Tunic[Leatherworker 2] 1 Unavailable[Leatherworker 1]
3 Emerald JE1 BE1.png Emerald 8-10 Saddle 1.png Saddle 1 Quantities Unavailable
  1. 1.0 1.1 Dyed unenchanted leather armor is available as a trade during 1.14 - Present
  2. A random enchantment of level 5-19 is assigned

Retaining

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.

Uses

Overstacking

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.

Combos

References

  1. MC-108074. bugs.mojang.com.