Java Edition.png

Java Edition:Pre-1.8 Villager

From Minecraft Discontinued Features Wiki
Jump to navigation Jump to search
Villager Enchant Trade.png

In 1.8, the trading system of villagers was almost entirely replaced. So from 12w21a (1.3 snapshot) to 1.7.10, many trades were available that are not possible in later versions. There are many possibilities of trades due to both randomized item counts and randomized trade ordering.

Pre-1.8 villagers were only assigned a profession as careers did not exist. By updating these villagers past 1.7.10 to any version before 1.14[test] they will have a random career assigned based on their profession.

Mechanics

As villagers worked quite differently in these versions, their trade mechanics can be somewhat unintuitive and confusing. This section serves as a brief overview for unfamiliar players.

Villagers will attempt to generate a new trade in two ways. The first is upon initial spawning, and the second is when the villager restocks. When the villager restocks, the following occurs:

  1. All currently locked trades will have 2 to 12 maxUses added, restocking them.
  2. Each possible trade has a weighted chance based on the amount of trades the villager has to be added to a list. This weighting causes rarer trades to be more likely with more trades generated and vice versa.
  3. After each possible trade has been iterated through, the game will check if the list is empty. If it is, it will insert a gold buy trade for 8-9 gold ingots for 1 emerald.
  4. A random trade is selected from the list.
  5. The villager's current trade list will be searched for a trade that has the following properties:
    • The first buy slot items have the same ID.
    • If the second buy slot is empty, the count of the first buy slot of the new trade is less than the found trade.
    • If the second buy slot is not empty, the IDs of the second buy slot items match and the count of the second buy slot of the new trade is less than the found trade.
  6. If a matching trade is found, the new trade replaces it. Otherwise, the new trade is added to the end of the trade list.


Whenever the player makes a trade with a villager, the following occurs:

  1. The trade's uses value is increased by one.
  2. If the trade is the last trade in the villager's list, the villager queues a restock.


When the player leaves the trading GUI, if a restock is queued it will occur in 40 ticks. Villagers also do not allow infinite trading anymore as trade locking has been introduced instead.

Possible Trades

These are all of the trades from the five professions. The 1.8 - 1.13 and 1.14 - 24w20a (present) status reveals if the specific trade was possible during that span of villager 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 pre-1.8
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

Pre 1.8 farmers had significantly different trades compared to later farmers. Also, due to how villagers update, there is a chance of a Pre 1.8 farmer becoming one of four villager types when updating to 1.8; farmer, shepherd, fletcher, or fisherman. This causes almost all trades to be discontinued, since the same trades can belong to four different villager careers. There are also discontinued quantities of items. Also, the trades are not in a fixed order.

Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.8 - 1.13 Status 1.14 - Present Status
Gold Ingot 2.png Gold Ingot 8-9 Emerald 1.png Emerald 1 Unavailable Unavailable
Wheat 1.png Wheat 18-21 Emerald 1.png Emerald 1 Available[Farmer 1] Certain Quantities[Farmer 2]
White Wool 1.png Wool[1] 14-21 Emerald 1.png Emerald 1 Certain Quantities[Farmer 3] Certain Quantities[Farmer 4]
Raw Chicken 2.png Raw Chicken 14-17 Emerald 1.png Emerald 1 Unavailable Unavailable
Cooked Fish.png Cooked Cod[1] 9-12 Emerald 1.png Emerald 1 Unavailable Unavailable
Emerald 1.png Emerald 1 Bread 2.png Bread 3-4 Available[Farmer 1] Quantities Unavailable
Emerald 1.png Emerald 1 Melon Slice 1.png Melon 5-8 Unavailable Unavailable
Emerald 1.png Emerald 1 Apple 2.png Apple 5-8 Other[Farmer 5] Quantities Unavailable
Emerald 1.png Emerald 1 Cookie 1.png Cookie 8-10 Available[Farmer 1] Quantities Unavailable
Emerald 1.png Emerald 3 Shears 1.png Shears 1 Available[Farmer 1] Quantities Unavailable
Emerald 1.png Emerald 3 Flint and Steel 3.png Flint and Steel 1 Unavailable Unavailable
Emerald 1.png Emerald 1 Cooked Chicken 2.png Cooked Chicken 7-8 Unavailable Unavailable
Emerald 1.png Emerald 1 Arrow 1.png Arrow 9-12[Farmer 6] Available[Farmer 1] Quantities Unavailable
Gravel 4.png Gravel[Farmer 7] 10 Emerald 1.png Emerald 1 Flint 2.png Flint 4-5[Farmer 8] Quantities Unavailable Quantities Unavailable
  1. 1.0 1.1 1.2 1.3 1.4 Only available on the farmer career
  2. The only quantity available in 1.14 - Present is 20 wheat for 1 emerald
  3. The quantities available 1.8-1.13 are 16-21 wool for 1 emerald. Also, only available on the shepherd career.
  4. The only quantity available 1.14-Present is 18 wool for 1 emerald.
  5. The quantities available 16w33a-1.13 are 1 emerald for 5-7 apples. Also, only available on the farmer career. (More info needed WIP)
  6. Before 12w32a (1.4 snapshot), the count was 5. See Pre-1.4 Trades.
  7. Gravel trade added in 12w22a (1.3 snapshot) with the introduction of the second buy slot
  8. Before 12w32a (1.4 snapshot), the count was 2-3. See Pre-1.4 Trades.

Pre 1.8 Librarians had slightly different trades compared to later librarians. Also, due to how villagers update, there is a chance of a Pre 1.8 librarian becoming one of two villager types when updating; librarian or cartographer, however to be a cartographer, the villager must be updated to (≥16w39a)(1.11) - 1.13. This causes most trades to be discontinued, since the same trades can belong to two different villager careers. When updating to 1.14 - present, the career is not randomly assigned, instead it is predetermined. Therefore, this librarian will always be a librarian when updating to 1.14 - present. There are also discontinued quantities of items. Also, the trades are not in a fixed order.

Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.8 - 1.13 Status 1.14 - Present Status
Gold Ingot 2.png Gold Ingot 8-9 Emerald 1.png Emerald 1 Unavailable Unavailable
Paper 1.png Paper 24-35[Librarian 1] Emerald 1.png Emerald 1 Available Certain Quantities[Librarian 2]
Book 1.png Book 11-12[Librarian 3] Emerald 1.png Emerald 1 Quantities Unavailable Quantities Unavailable
Written Book Icon.gif Written Book 1 Emerald 1.png Emerald 1 Quantities Unavailable Unavailable
Emerald 1.png Emerald 3 Bookshelf 2.png Bookshelf 1 Available[Librarian 4] Other[2]
Emerald 1.png Emerald 1 Glass 3.png Glass 4-5 Available[Librarian 4] Certain Quantities[Librarian 5]
Emerald 1.png Emerald 10-11 Compass 1.png Compass 1 Quantities Unavailable[Librarian 6] Quantities Unavailable
Emerald 1.png Emerald 10-11 Clock 2.png Clock 1 Available[Librarian 4] Quantities Unavailable
Book 1.png Book[Librarian 7] 1 Emerald 1.png Emerald 5-71[Librarian 8] Enchanted Book Icon.gif Enchanted Book[Librarian 9] 1 Other[Librarian 10] Other[Librarian 11]
  1. Before 12w32a (1.4 snapshot), the count was 19-29. See Pre-1.4 Trades.
  2. The only quantity available in 1.14 - Present is 24 paper for 1 emerald
  3. Before 12w32a (1.4 snapshot), the count was 12-14. See Pre-1.4 Trades.
  4. 4.0 4.1 4.2 Only available on the librarian career
  5. The only quantity available in 1.14 - Present is 1 emerald for 4 glass. Also, only available on librarian career
  6. More Info - Test Before Cartography Table
  7. Only available in versions 12w50a (1.4.6 snapshot) and later
  8. Overstacked Emeralds Buy Trade becomes 64 in 24w09a and above.
  9. A random enchantment and a random level between 1 and the maximum legitimate level is chosen.
  10. More Info Needed - WIP
  11. More Info Needed - WIP

Pre 1.8 priests had significantly different trades compared to later clerics. They had what was known as the enchant trade, which would buy a diamond/iron tool/armor for emeralds, and provide the same tool/armor with an enchant. They would also trade different quantities of items, as well as eye of enders. Also, the trades are not in a fixed order.

Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.8 - 1.13 Status 1.14 - Present Status
Gold Ingot 2.png Gold Ingot 8-9 Emerald 1.png Emerald 1 Available Quantities Unavailable
Emerald 1.png Emerald[Priest 1] 7-10 Eye of Ender 1.png Eye of Ender 1 Other[Priest 2] Unavailable
Emerald 1.png Emerald 1 Bottle o Enchanting Icon.gif Bottle o' Enchanting 2-4 Quantities Unavailable Quantities Unavailable
Emerald 1.png Emerald 1 Redstone 1.png Redstone 2-4 Available Certain Quantities[Priest 3]
Emerald 1.png Emerald 1 Glowstone 2.png Glowstone 2-3 Available Quantities Unavailable
Iron Sword 1.png Iron Sword[Priest 4] 1 Emerald 1.png Emerald 2-4 Enchanted Iron Sword Icon.gif Enchanted Iron Sword[Priest 5] 1 Unavailable Unavailable
Iron Pickaxe 1.png Iron Pickaxe[Priest 4] 1 Emerald 1.png Emerald 2-4 Enchanted Iron Pickaxe Icon.gif Enchanted Iron Pickaxe[Priest 5] 1 Unavailable Unavailable
Iron Axe 4.png Iron Axe[Priest 4] 1 Emerald 1.png Emerald 2-4 Enchanted Iron Axe Icon.gif Enchanted Iron Axe[Priest 5] 1 Unavailable Unavailable
Iron Chestplate 1.png Iron Chestplate[Priest 4] 1 Emerald 1.png Emerald 2-4 Enchanted Iron Chestplate Icon.gif Enchanted Iron Chestplate[Priest 5] 1 Unavailable Unavailable
Diamond Sword 1.png Diamond Sword[Priest 4] 1 Emerald 1.png Emerald 2-4 Enchanted Diamond Sword Icon.gif Enchanted Diamond Sword[Priest 5] 1 Unavailable Unavailable
Diamond Pickaxe 1.png Diamond Pickaxe[Priest 4] 1 Emerald 1.png Emerald 2-4 Enchanted Diamond Pickaxe Icon.gif Enchanted Diamond Pickaxe[Priest 5] 1 Unavailable Unavailable
Diamond Axe 1.png Diamond Axe[Priest 4] 1 Emerald 1.png Emerald 2-4 Enchanted Diamond Axe Icon.gif Enchanted Diamond Axe[Priest 5] 1 Unavailable Unavailable
Diamond Chestplate 1.png Diamond Chestplate[Priest 4] 1 Emerald 1.png Emerald 2-4 Enchanted Diamond Chestplate Icon.gif Enchanted Diamond Chestplate[Priest 5] 1 Unavailable Unavailable
  1. Start version for this trade is 12w22a (1.3 snapshot), 12w21a/12w21b had the Eye of Ender Buy Trade
  2. Possible during some early 1.8 snapshots, see Eye of Ender Sell Trade
  3. The quantity available in 1.14 - Present is 1 Emerald for 2 Redstone
  4. 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 Enchantment trades were added in 12w22a (1.3 snapshot) with the introduction of the second buy slot
  5. 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 Enchanted with a random enchanting table level from 5 to 19.

Pre 1.8 blacksmiths had fairly different trades compared to later blacksmiths. Also, due to how villagers update, there is a chance of a Pre 1.8 blacksmith becoming one of three villager types when updating to 1.8 - 1.13; armorer, weaponsmith, or toolsmith. This causes some trades to be discontinued, since the same trades can belong to two different villager careers. When updating to 1.14 - present trades, the career is not randomly assigned, instead it is predetermined. Therefore, this blacksmith will always be an armorer when updating to 1.14 - present. The villager also trades discontinued quantities of items. Also, the trades are not in a fixed order.

Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.8 - 1.13 Status 1.14 - Present Status
Gold Ingot 2.png Gold Ingot 8-9 Emerald 1.png Emerald 1 Unavailable Unavailable
Coal.png Coal[1] 16-23 Emerald 1.png Emerald 1 Available Quantities Unavailable
Iron Ingot 2.png Iron Ingot 8-9 Emerald 1.png Emerald 1 Available Quantities Unavailable
Diamond 2.png Diamond 4-5 Emerald 1.png Emerald 1 Certain Quantities[Blacksmith 1] Quantities Unavailable
Emerald 1.png Emerald 7-10 Iron Sword 1.png Iron Sword 1 Unavailable[Blacksmith 2] Unavailable[Blacksmith 3]
Emerald 1.png Emerald 6-7 Iron Axe 4.png Iron Axe 1 Available[Blacksmith 4] Quantities Unavailable
Emerald 1.png Emerald 7-8 Iron Pickaxe 1.png Iron Pickaxe 1 Unavailable[Blacksmith 2] Unavailable[Blacksmith 3]
Emerald 1.png Emerald 4-5 Iron Shovel 2.png Iron Shovel 1 Unavailable[Blacksmith 2] Unavailable[Blacksmith 3]
Emerald 1.png Emerald 4-5 Iron Hoe 1.png Iron Hoe 1 Unavailable Unavailable
Emerald 1.png Emerald 12-13 Diamond Sword 1.png Diamond Sword 1 Unavailable[Blacksmith 2] Unavailable[Blacksmith 3]
Emerald 1.png Emerald 9-11 Diamond Axe 1.png Diamond Axe 1 Unavailable[Blacksmith 2] Unavailable[Blacksmith 3]
Emerald 1.png Emerald 10-11 Diamond Pickaxe 1.png Diamond Pickaxe 1 Unavailable[Blacksmith 2] Unavailable[Blacksmith 3]
Emerald 1.png Emerald 7 Diamond Shovel 1.png Diamond Shovel 1 Unavailable Unavailable[Blacksmith 3]
Emerald 1.png Emerald 7 Diamond Hoe 1.png Diamond Hoe 1 Unavailable Quantities Unavailable
Emerald 1.png Emerald 4-5 Iron Helmet 1.png Iron Helmet 1 Available[Blacksmith 5] Certain Quantities[Blacksmith 5][Blacksmith 6]
Emerald 1.png Emerald 10-13 Iron Chestplate 1.png Iron Chestplate 1 Available[Blacksmith 5] Quantities Unavailable
Emerald 1.png Emerald 8-9 Iron Leggings 1.png Iron Leggings 1 Unavailable Quantities Unavailable
Emerald 1.png Emerald 4-5 Iron Boots 1.png Iron Boots 1 Unavailable Certain Quantities[Blacksmith 5][Blacksmith 7]
Emerald 1.png Emerald 7 Diamond Helmet 1.png Diamond Helmet 1 Unavailable Unavailable[Blacksmith 3]
Emerald 1.png Emerald 16-18 Diamond Chestplate 1.png Diamond Chestplate 1 Unavailable[Blacksmith 2] Unavailable[Blacksmith 3]
Emerald 1.png Emerald 11-13 Diamond Leggings 1.png Diamond Leggings 1 Unavailable Unavailable[Blacksmith 3]
Emerald 1.png Emerald 7 Diamond Boots 1.png Diamond Boots 1 Unavailable Unavailable[Blacksmith 3]
Emerald 1.png Emerald 5-6 Chainmail Helmet 1.png Chainmail Helmet 1 Available[Blacksmith 5] Quantities Unavailable
Emerald 1.png Emerald 11-14 Chainmail Chestplate 1.png Chainmail Chestplate 1 Available[Blacksmith 5] Quantities Unavailable
Emerald 1.png Emerald 9-10 Chainmail Leggings 1.png Chainmail Leggings 1 Available[Blacksmith 5] Quantities Unavailable
Emerald 1.png Emerald 5-6 Chainmail Boots 1.png Chainmail Boots 1 Available[Blacksmith 5] Quantities Unavailable
  1. The only quantity available from 1.8-1.13 is 3-4 diamonds for each emerald
  2. 2.0 2.1 2.2 2.3 2.4 2.5 2.6 These items were available as a trade during 1.8 - 1.13, however they were only available enchanted
  3. 3.00 3.01 3.02 3.03 3.04 3.05 3.06 3.07 3.08 3.09 3.10 These items are available as a trade during 1.14 - present, however they are only available enchanted
  4. This trade is only available for the weaponsmith career
  5. 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 This trade is only available for the armorer career
  6. The only quantity available during 1.14 - Present is 5 emeralds for 1 iron helmet
  7. The only quantity available during 1.14 - Present is 4 emeralds for 1 pair of iron boots

Pre 1.8 butchers had fairly different trades compared to later butchers. Also, due to how villagers update, there is a chance of a Pre 1.8 butcher becoming one of two villager types when updating to 1.8 - 1.13; butcher or leatherworker. This causes almost all trades to be discontinued, since the same trades can belong to two different villager careers. When updating to 1.14 - Present , the career is not randomly assigned, instead it is predetermined. Therefore, this butcher will always be a butcher when updating to 1.14 - present. The villager also trades discontinued quantities of items. Also, the trades are not in a fixed order.

Buy 1 Item Buy 1 Count Buy 2 Item Buy 2 Count Sell Item Sell Count 1.8 - 1.13 Status 1.14 - Present Status
Gold Ingot 2.png Gold Ingot 8-9 Emerald 1.png Emerald 1 Unavailable Unavailable
Coal.png Coal[1] 16-23 Emerald 1.png Emerald 1 Unavailable Unavailable
Raw Porkchop 2.png Raw Porkchop 14-17 Emerald 1.png Emerald 1 Available[Butcher 1] Certain Quantities[Butcher 1][Butcher 2]
Raw Beef 3.png Raw Beef 14-17 Emerald 1.png Emerald 1 Unavailable Quantities Unavailable[Butcher 1]
Emerald 1.png Emerald 6-7 Saddle 1.png Saddle 1 Quantities Unavailable[Butcher 3] Certain Quantities[Butcher 3][Butcher 4]
Emerald 1.png Emerald 2-3 Leather Cap 3.png Leather Cap 1 Unavailable Unavailable[Butcher 5]
Emerald 1.png Emerald 4 Leather Tunic 3.png Leather Tunic 1 Unavailable[Butcher 6] Unavailable[Butcher 5]
Emerald 1.png Emerald 2-3 Leather Pants 3.png Leather Leggings 1 Available[Butcher 3] Unavailable[Butcher 5]
Emerald 1.png Emerald 2-3 Leather Boots 3.png Leather Boots 1 Unavailable Unavailable[Butcher 5]
Emerald 1.png Emerald 1 Cooked Porkchop 3.png Cooked Porkchop 6-7 Available[Butcher 1] Quantities Unavailable[Butcher 1]
Emerald 1.png Emerald 1 Steak 3.png Steak 6-7 Unavailable Unavailable
  1. 1.0 1.1 1.2 1.3 1.4 This trade is only available for the butcher career
  2. The quantity available for 1.14 - Present is 7 raw porkchops for 1 emerald
  3. 3.0 3.1 3.2 This trade is only available for the leatherworker career
  4. The quantity available for 1.14 - Present is 6 emeralds for 1 saddle
  5. 5.0 5.1 5.2 5.3 Dyed leather armor is available as a trade during 1.14 - Present. The color will be the combination of 2 random colors (can be the same color).
  6. An enchanted leather tunic is available as a trade during 1.8 - 1.13

Uses

Overstacking

The enchantment trades on a priest and a trade on the librarian can be used to overstack the items it enchants. This method works from 19w13b (1.14 snapshot) to 1.14.1. The items that can be overstacked by the priest are iron swords, iron axes, iron pickaxes, iron chestplates, diamond swords, diamond axes, diamond pickaxes, and diamond chestplates. The librarian can overstack written books.

Uncraftable Item Crafted Statstics

Due to a glitch,[3] trades are counted as crafting that item. Because of this, after 17w47a (1.13 snapshot)[test], the villager can be used to get crafting statistics for uncraftable items. The apple, bottle o' enchanting, chainmail helmet, chainmail chestplate, chainmail leggings, chainmail boots, enchanted book, flint, and saddle sell trades all give discontinued statistics.

Combos

References

  1. 1.0 1.1 1.2 1.3 Damage values and NBT Data are ignored when trading, meaning, among other things, all colors of Wool, Charcoal or Invalid Data Value Coal in place of Coal, Cooked Salmon in place of Cooked Cod, and enchanted/damaged items are accepted
  2. More Info Needed - WIP
  3. MC-108074. bugs.mojang.com.