Pre-1.4 Trades refer to various discontinued elements of villager trades that were obtainable through the pre-1.4 trading system. 12w32a (the first 1.4 snapshot) introduced a new trade locking and restocking system, along with tweaking 4 trades for balancing reasons. These changes led to some quantities of trades being discontinued and the ability to obtain an invalid uses value by leveraging the old trade system. These trades were available from the introduction of villager trading in 12w21a (a 1.3 snapshot) to 1.3.2 (except the gravel trade and priest enchant trades, which were added with the second buy slot in 12w22a). Besides the 4 changed trades, the trades during this range were identical to pre-1.8 villagers. Two of the changed trades were on the farmer profession, and the other two were on the librarian profession.
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's last trade is traded. When the villager attempts to generate a new trade, the following occurs:
Each possible trade has a fixed chance to be added to a list.
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.
A random trade is selected from the list.
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.
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:
The trade's uses value is increased by one.
If the trade is the last trade in the villager's list, the villager queues a trade generation.
Otherwise, if the villager has more than one trade and if the trade has been traded more than 3-12 times (this value is randomized each time the trade is used), the "to remove" trade is set to this trade.
When the player leaves the trading GUI, if the "to remove" trade is set, that trade will be removed from the villager. If a trade generation is queued it will occur in 60 ticks. However, as long as the GUI is kept open, the player is free to use a trade as many times as they would like.
Possible Trades
These are all of the trades from the five professions. The 1.4 - 1.7, 1.8 - 1.13, and 1.14 - 24w20a (present) status reveals if the specific trade was available as well 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.4.
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 the reference for more information.
Professions
When updating farmers to 1.8 and beyond, they have a random chance of being assigned to either a farmer, fisherman, fletcher, or shepherd. When updated directly from pre-1.8 to 1.14, they will always be farmers.
↑ 1.01.11.21.3Only available for the farmer career.
↑The only quantity available from 1.14 to 24w20a (present) is 20 wheat for 1 emerald.
↑ 3.03.1Damage values are ignored when trading in versions before 14w02a (a 1.8 snapshot), meaning all colors of wool and cooked salmon are accepted.
↑The quantities available from 1.8 to 1.13 are 16-21 wool for 1 emerald, only available on the shepherd career.
↑The only quantity available from 1.14 to 24w20a (present) is 18 wool for 1 emerald, only available on the shepherd career.
↑Unavailable from 1.8 to 16w32b (a 1.11 snapshot). The quantities available from 16w33a to 1.13 are 1 emerald for 5-7 apples, only available on the farmer career.
↑The gravel to flint trade was added in 12w22a (a 1.3 snapshot) with the introduction of the second buy slot.
When updating librarians to 1.8 and beyond, they normally can only become librarians, as no variant careers originally existed. However, when cartographers were added in 16w39a (a 1.11 snapshot), pre-1.8 villagers gained the ability to also become cartographers, although they must not be loaded at any point from 14w02a to 16w39a. When updated directly from pre-1.8 to 1.14, they will always be librarians.
↑This trade was added in 12w22a (a 1.3 snapshot). 12w21a to 12w21b had the Eye of Ender Buy Trade instead.
↑The only quantity available in 1.14 to 24w20a (present) is 1 emerald for 2 redstone.
↑ 3.03.13.23.33.43.53.63.7Enchantment trades were added in 12w22a (a 1.3 snapshot) with the introduction of the second buy slot. Damage values and NBT data are ignored when trading in versions before 14w02a (a 1.8 snapshot), meaning damaged and enchanted items are accepted.
When updating blacksmiths to 1.8 and beyond, they have a random chance of being assigned to either an armorer, toolsmith, or weaponsmith. When updated directly from pre-1.8 to 1.14, they will always be armorers.
↑Diamond hoes were enchanted from 19w11a to 1.14. 1.14.1 Pre-Release 1 removed the enchantments, but the quantities are still non-overlapping (quantities unavailable). Only available for the toolsmith career.
↑The only quantity available from 1.14 to 24w20a (present) is 5 emeralds for 1 iron helmet.
↑The only quantity available from 1.14 to 24w20a (present) is 4 emeralds for 1 pair of iron boots.
When updating butchers to 1.8 and beyond, they have a random chance of being assigned to either a butcher or a leatherworker. When updated directly from pre-1.8 to 1.14, they will always be butchers.
↑Damage values are ignored when trading in versions before 14w02a (a 1.8 snapshot), meaning charcoal and Invalid Data Value Coal are accepted.
↑ 2.02.12.2 Only available for the butcher career.
↑ 3.03.13.2Only available for the leatherworker career.
↑The only quantity available from 1.14 to 24w20a (present) is 6 emeralds for 1 saddle.
Invalid Uses Count
Normally, a villager cannot have a trade with a uses value greater than the maxUses value. However, as maxUses did not exist before 1.4, the game defaults to assigning a maxUses value of 7 upon updating. However, 1.13's mechanics can be abused to break this rule. Most simply, 1.3 allows a trade to potentially be used up to 12 times. However, another mechanic exists that allows this to be pushed much farther. When a villager has only a single trade unlocked, it is not allowed to be removed. This allows the player to increase the uses of a trade to an arbitrarily high number. If one strategically trades other trades to remove them when they generate from closing the GUI, in theory it can be increased forever, eventually resulting in overflowing at 2,147,483,647 to -2,147,483,648. A negative uses value is particularly interesting, as it allows nearly limitless trading in any version until it eventually increases back to positive integers, but this is highly impractical to achieve.
After updating to 1.4 and beyond, such trades will gain maxUses as the villager restocks, but it likely will appear to not restock such trades depending on how high uses is. As 1.14 changed how uses and maxUses were utilized, when restocking in 1.14 or above uses will be set back to 0.
Retaining
When updating older villagers to newer versions, certain precautions must be taken to preserve their trades. Villagers may be mostly safely be updated from 1.3 to 1.13 without any loss of trades. However, one should be careful when restocking these villagers from 1.4 to 1.7 as newly generated trades, if they have the same sell item and a lower buy quantity, can overwrite existing trades. Additionally, loading villagers from 13w36a to 13w39b (1.7 snapshots) will cause second buy slot removal. When loaded in any version from 19w11a (a 1.14 snapshot) to 1.14 Pre-Release 3, you must either trade at least once or assign each villager a workstation before updating, 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, loosing their trades. If a villager is directly updated from before 19w11a to 1.14.1 Pre-Release 1 or newer, this step may be skipped if the villager has at least 4 trades.
As a result of the addition of careers in 1.8, pre-1.8 villagers will default to a career ID of 0. From 1.8 to 1.13, they will maintain this until they restock, where they will be assigned a random career.
Upon updating to 19w11a and above, if the villager still has a career ID of 0, they will always have a specific career assigned, as noted in the possible trades section of this page. Additionally, all trades will gain the priceMultiplier:0.0f tag, which is unique to pre-1.14 trades.