Bartering is an action the player can perform with piglins to obtain various items.
Obtainable items
To barter with a piglin, a player either throws a gold ingot near the piglin or uses the gold ingot on it. The piglin takes the gold ingot and appears to examine it for six seconds (8 seconds in Bedrock Edition), after which the piglin tosses a random item to the player, based on the table below.
A piglin looking at a gold ingot.
The item the piglin throws may be one of the following:
| Bartering items | ||||
|---|---|---|---|---|
| Item given | Quantity | Chance | Weight | |
| Enchanted Book with Soul Speed (random level) | 1 | 5⁄423 (~1.18%) |
5 | |
| Iron Boots with Soul Speed (random level) | 1 | 8⁄423 (~1.89%) |
8 | |
| Iron Nugget | 9–36 | 10⁄423 (~2.36%) |
10 | |
| Splash Potion of Fire Resistance | 1 | |||
| Potion of Fire Resistance | 1 | |||
| Nether Quartz | 8–16 | 20⁄423 (~4.73%) |
20 | |
| Glowstone Dust | 5–12 | |||
| Magma Cream | 2–6 | |||
| Ender Pearl | 4–8 | |||
| String | 8–24 | |||
| Fire Charge | 1-5 | 40⁄423 (~9.46%) |
40 | |
| Gravel | 8–16 | |||
| Leather | 4–10 | |||
| Nether Brick | 4–16 | |||
| Obsidian | 1 | |||
| Crying Obsidian | 1–3 | |||
| Soul Sand | 4–16 | |||
If multiple gold ingots are on the ground, piglins pick them up one at a time and toss a new item once every six seconds (8 seconds in Bedrock Edition). Once there are no ingots remaining to pick up, they return to their normal behavior.
Piglins pick up many other items that are made of gold; however, ingots are the only items that piglins accept for bartering. Any other gold items, such as gold nuggets or blocks of gold are simply added to the piglin's inventory. Picked-up weapons and armor are equipped if possible. Baby piglins are incapable of bartering and treat gold ingots like any other gold items.
Hitting a piglin causes it to put the ingot into its inventory and it cannot be bartered with again unless it puts another item in its inventory. This stored ingot is dropped upon death. Piglins who are killed in one hit before they finish examining always drop the ingot.
Bartering is controlled by the loot table minecraft:gameplay/piglin_bartering.
History
| Java Edition | |||||
|---|---|---|---|---|---|
| 1.16 | 20w07a | Added bartering. | |||
| 20w09a | Soul sand, mushrooms, crimson fungi, flint, rotten flesh, and raw porkchops have been removed from the possible barters. | ||||
| Crying obsidian, string, Fire Resistance potions and splash potions, and netherite hoes have been added to the possible barters. | |||||
| Barter chances have been tweaked. | |||||
| Due to a bug, all barters give stacks of 1–5 items.[1] | |||||
| 20w10a | Barters now give the correct amounts of items. | ||||
| Warped nylium, warped fungus, and shroomlights have been removed from the possible barters. | |||||
| Iron nuggets and soul sand have been added to the possible barters. | |||||
| Barter chances have been tweaked. | |||||
| 20w11a | Enchanted books and iron boots with Soul Speed have been added to the possible barters. | ||||
| 20w13a | Items enchanted with Soul Speed are now slightly more common. | ||||
| 20w20a | Netherite hoes can no longer be obtained through bartering. | ||||
| Bedrock Edition | |||||
| 1.16.0 | beta 1.16.0.51 | Added bartering. | |||
| beta 1.16.0.57 | Updated the loot table to match Java Editon. Previously, right-clicking the piglin would give the player obsidian or flint and steel, while dropping gold onto the ground would result in a Nether wart block | ||||
| Piglins now "inspect" the gold ingot before giving the player an item, as opposed to giving the item instantly. | |||||
Issues
Issues relating to "Bartering" are maintained on the bug tracker. Report issues there.