Bartering is an action the player can perform with piglins to obtain various items.
Mechanics
To barter with a piglin, either throw by dropping a Diamond ingot near an adult piglin or use a gold ingot on it. After the piglin takes the gold ingot and examines it for six seconds in Java Edition or eight seconds in Bedrock Edition, it tosses a random item to the player. Piglin brutes ignore gold ingots and baby piglins will take the ingot without giving anything in return.
Piglins pick up many other items that are made of gold; however, ingots are the only items that piglins accept for bartering. Baby piglins are incapable of bartering and treat gold ingots like any other gold items.
Hitting a piglin causes it to "confiscate" the ingot; the piglin does not complete the barter. It cannot be bartered with again unless it puts another item in its inventory. 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. If the gamerule mobGriefing is false, piglins only barter when the player uses a gold ingot on them.
A piglin looking at a gold ingot.
Items bartered
The item the piglin throws may be one of the following:
| Item given | Quantity | Chance | Ingots needed per item (average) |
|---|---|---|---|
| Enchanted Book with Soul Speed (random level) |
1 | 5⁄459 (~1.09%) |
91.8 |
| Iron Boots with Soul Speed (random level) |
8⁄459 (~1.74%) |
57.375 | |
| Splash Potion of Fire Resistance | |||
| Potion of Fire Resistance | |||
| Water Bottle | 10⁄459 (~2.18%) |
45.9 | |
| Iron Nugget | 10–36 | 1.996 | |
| Ender Pearl | 2–4 | 15.3 | |
| String | 3–9 | 20⁄459 (~4.36%) |
3.825 |
| Nether Quartz | 5–12 | 2.7 | |
| Obsidian | 1 | 40⁄459 (~8.71%) |
11.475 |
| Crying Obsidian | 1–3 | 5.7375 | |
| Fire Charge | 1 | 11.475 | |
| Leather | 2–4 | 3.825 | |
| Soul Sand | 2–8 | 2.295 | |
| Nether Brick | |||
| Spectral Arrow[JE only] Arrow[BE only] |
6–12 | 1.275 | |
| Gravel | 8–16 | 0.96 | |
| Blackstone |
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 have been added to the list of barters and soul sand has been re-added. | |||||
| 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. | ||||
| 1.16.2 | 20w28a | Water bottles, spectral arrows, and blackstone have been added to the possible barters. | |||
| Magma cream and glowstone dust have been removed from the possible barters. | |||||
| Barter chances have been tweaked. | |||||
| Many barters give fewer items. | |||||
| Bedrock Edition | |||||
| 1.16.0 | beta 1.16.0.51 | Added bartering. | |||
| beta 1.16.0.57 | Updated the loot table to match Java Edition 20w13a. 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. | |||||
| 1.16.100 | beta 1.16.100.54 | Updated the loot table to match Java Edition 1.16.2. Arrows are used in place of spectral arrows. | |||
See also
Issues
Issues relating to "Bartering" are maintained on the bug tracker. Report issues there.
Trivia
- Piglins sometimes pick up and equip the iron boots enchanted with Soul Speed that they have just offered while bartering. If the player wants to obtain the iron boots without killing the piglin, they can offer the piglin a pair of golden boots, and the piglin will discard the iron boots in favor of the golden pair.