Minecraft wiki entry for Bartering, associated text: To barter with a piglin, either throw by dropping a gold 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. Baby piglins take the ingot without giving anything in return, instead holding the ingot, which is dropped when killed.