Bartering

From Minecraft Wiki
Jump to: navigation, search
Grass Block Revision 6.png
This page contains content on features that may be included in the next update to Java Edition.
These features have appeared in Java Edition development versions, but the full update containing these features has not been released for Java Edition yet.

Bartering is an action the player can perform with piglins.

Mechanics[edit]

Bartering is controlled by loot table minecraft:gameplay/piglin_bartering. 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, 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
Netherite Hoe 1 1226
(~0.44%)
1
Warped Nylium 1–5 5226
(~2.21%)
5
Splash Potion of Fire Resistance 1
Potion of Fire Resistance 1
Nether Quartz 1–5 10226
(~4.42%)
10
Glowstone Dust 1–5
Magma Cream 1–5
Ender Pearl 1–5
String 1–5
Nether Brick 1–5 20226
(~8.84%)
20
Crying Obsidian 1–5
Obsidian 1–5
Warped Fungus 1–5
Leather 1–5
Gravel 1–5
Fire Charge 1–5
Shroomlight 1–5

If the player throws a stack of gold ingots, piglins pick them up one at a time and toss a new item once every six seconds. Once there are no ingots remaining to pick up, they return to their normal behavior and may immediately attack the player.

Hitting a piglin causes it to put the ingot into its inventory and it cannot be bartered with again.[more information needed] This stored ingot is dropped upon death. Piglins who are killed in one hit before they finish examining drop the ingot with the same chances as any other held item.

History[edit]

Upcoming Java Edition
1.1620w07aAdded bartering. (For more info, see Bartering/Before 20w09a.)
20w09aSoul 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]

Issues[edit]

Issues relating to "Bartering" are maintained on the bug tracker. Report issues there.

References[edit]