Minecraft wiki entry for Potato, associated text: Novice-level farmer villagers have a 25%‌[Bedrock Edition only] or 40%‌[Java Edition only] chance to buy 26 potatoes for an emerald as part of their trade.