Minecraft wiki entry for Trading, associated text: Pressing use on an adult villager with a profession, or on a wandering trader, opens a menu, allowing a player to trade with the villager or wandering trader. This action pauses any pathfinding the entity was doing. In Bedrock Edition, an emerald appears above the entity's head while its trading menu is open. If the entity takes damage while trading, the trading menu closes.