Minecraft:Bartering
More actions
Template:For Template:See also Template:Redirect
Bartering is a Minecraft:gameplay mechanic that allows Minecraft:players to exchange Minecraft:gold ingots for various items with Minecraft:piglins.
Mechanics
Adult piglins can trade gold ingots for certain items when they pick up nearby gold ingot items or when the player Template:Ctrl gold ingots while looking at them. After the piglin takes the gold ingot and examines it for 6 seconds (120 gameticks) Template:In it tosses a random item to the player, or upward if no player is in sight. The full cycle time, from when a piglin accepts an ingot until it accepts the next ingot, is 6.05 seconds (121 gameticks) Template:In and 8 seconds (160 gameticks) Template:In.<ref>Template:Bug</ref> Baby piglins take the ingot, but do not barter; they instead store the ingot in their inventory. Minecraft:Piglin brutes ignore gold ingots and do not barter.
Piglins can pick up other items that are in Template:Code or Template:Code tags; however, ingots are the only items that piglins accept for bartering.
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.
When a piglin is examining a gold ingot, it can still be angered when the player breaks a container or a gold-related block nearby, although its behavior differs depending on the game edition. Template:IN, the piglin finishes the barter on the original schedule and starts attacking the player only after the barter finishes. Template:IN, the piglin immediately finishes the barter and starts attacking the player,<ref>Template:Bug</ref> leading to a bartering transaction much shorter than the default 8 seconds.<ref>Template:Bug</ref> This allows piglins Template:In to barter rapidly when gold-related blocks are repeatedly broken nearby or when a gold-related block is repeatedly pushed and pulled by pistons.
Bartering is controlled by the Minecraft:loot table Template:Cd. If the Minecraft:game rule mobGriefing is Template:Cd, piglins barter only when the player Template:Control a gold ingot on them.
Template:IN, if a piglin is zombified into a Minecraft:zombified piglin before the bartering is complete, the newly-zombified piglin drops the gold ingot immediately. Template:IN, the zombified piglin continues to hold the gold ingot after zombification and drops it upon death.
When a piglin is admiring a gold ingot while bartering, it does not run away from nearby Minecraft:zoglins or zombified piglins.
Piglins sometimes pick up and equip the Minecraft:iron boots enchanted with Minecraft:Soul Speed at a random level that they have just offered while bartering. A player wanting to obtain the iron boots without killing the piglin can induce the piglin to discard the iron boots by offering a pair of Minecraft:golden boots.<ref>Template:Bug</ref>
Items bartered
The item the piglin throws may be one of the following:
| Item given | Chance | Quantity | Ingots needed per item (average) |
|---|---|---|---|
| Template:ItemLink with Minecraft:Soul Speed (random level) |
Template:Frac (~1.07%) |
1 | 93.8 |
| Template:ItemLink with Minecraft:Soul Speed (random level) |
Template:Frac (~1.71%) |
1 | 58.625 |
| Template:ItemLink | |||
| Template:ItemLink | |||
| Template:ItemLink | Template:Frac (~2.13%) |
1 | 46.9 |
| Template:BlockLink | |||
| Template:ItemLink | 10–36 | 2.039 | |
| Template:ItemLink | 2–4 | 15.63 | |
| Template:ItemLink | Template:Frac (~4.26%) |
3–9 | 3.908 |
| Template:ItemLink | 5–12 | 2.759 | |
| Template:BlockLink | Template:Frac (~8.53%) |
1 | 11.725 |
| Template:ItemLink | |||
| Template:BlockLink | 1–3 | 5.867 | |
| Template:ItemLink | 2–4 | 3.908 | |
| Template:BlockLink | 2–8 | 2.345 | |
| Template:ItemLink | |||
| Template:ItemLinkTemplate:Only Template:ItemLinkTemplate:Only |
6–12 | 1.303 | |
| Template:BlockLink | 8–16 | 0.977 | |
| Template:BlockLink |
Bartering is the only Minecraft:renewable source of nether quartz, crying obsidian, soul sand, dried ghasts (both directly as a barterable item and indirectly as a product of soul sand), nether brickTemplate:Only, gravel, blackstone, and the Soul Speed enchantment.
History
Java Edition
Bedrock Edition
Issues
Gallery
-
A piglin bartering in a warped forest.
See also
References
Minecraft:es:Trueque Minecraft:fr:Piglin#Troc Minecraft:it:Baratto Minecraft:ja:物々交換 Minecraft:ko:물물교환 Minecraft:lzh:易 Minecraft:pt:Troca Minecraft:ru:Товарообмен Minecraft:uk:Бартер Minecraft:zh:以物易物