Tutorials/Bartering farm

From Minecraft Wiki
Jump to: navigation, search

Bartering with piglins is a great way for the player to get a lot of items. From gravel to Soul Speed books, many items can be obtained from bartering.

Piglins[edit]

Piglins are neutral mobs that spawn in crimson forests, nether wastes, and bastion remnants. Piglins are also armed with crossbows and gold swords. An easy way to make them friendly with you is to wear any piece of gold armor. It is recommended to use the boots section, which is the cheapest and leaves the other armor slots for more powerful armor. It is also a good idea to build a piglin farm away from zombified piglins, soul fire, soul torches, soul campfires, and soul lanterns, because they will run away from them. An exception is if they are caged up with blocks. These objects can also be used to lead piglins to a certain place. Also, piglin farms must be built in the nether, or else piglins will zombify.

Unlike most hostile mobs, they do not despawn in peaceful mode, but still follow normal hostile mob despawning rules. If you are caging up piglins for easier bartering, you will need to use name tags on them.

Bartering[edit]

To barter with a piglin, either throw a gold ingot near the 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 or baby piglins cannot be bartered with.

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[edit]

The item the piglin throws may be one of the following: (Avg. expected gold ingots to roll can be thought of as a "price," where on average, it "costs" a certain amount of gold ingots, on average, to get a single item)

Bartering items in Java Edition
Item given Quantity Chance Avg. expected gold ingots to roll
Enchanted Book with Soul Speed (random level) 1 5459
(~1.09%)
91.8
Iron Boots with Soul Speed (random level) 1 8459
(~1.74%)
57.375
Splash Potion of Fire Resistance 1 57.375
Potion of Fire Resistance 1 57.375
Water Bottle 1 10459
(~2.18%)
45.9
Iron Nugget 10–36 1.996
Ender Pearl 2–4 11.475
String 3–9 20459
(~4.36%)
3.825
Nether Quartz 5–12 2.7
Obsidian 1 40459
(~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 2–8 2.295
Spectral Arrow 6–12 1.275
Gravel 8–16 0.96
Blackstone 8–16 0.96
Bartering items in Bedrock Edition
Item given Quantity Chance Avg. expected gold ingots to roll
Enchanted Book with Soul Speed (random level) 1 5459
(~1.09%)
91.8
Iron Boots with Soul Speed (random level) 1 8459
(~1.74%)
57.375
Splash Potion of Fire Resistance 1 57.375
Potion of Fire Resistance 1 57.375
Water Bottle 1 10459
(~2.18%)
45.9
Iron Nugget 10–36 1.996
Ender Pearl 2–4 15.3
String 3–9 20459
(~4.36%)
3.825
Nether Quartz 5–12 2.7
Obsidian 1 40459
(~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 2–8 2.295
Arrow 6–12 1.275
Gravel 8–16 0.96
Blackstone 8–16 0.96

Gold farming[edit]

You need to have a source of gold to run the farm, either from a zombified piglin farm or from another source, such as mining.

AFK Farming[edit]

An AFK farm is linked to a zombified piglin farm, then it can travel through a hopper system (water currents cannot be used as the nether instantly evaporates it upon placing the water bucket) and drop out of a dropper or dispenser, and collects through a hopper system. To make the farm more effective, make a hopper organizer, as seen in this YouTube video.