Minecraft wiki entry for Raw_Gold, associated text: Piglins are attracted to raw gold. They run toward any raw gold on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.