Minecraft wiki entry for Villager_trading_hall, associated text: For a fully automatic system, the mechanism that puts the villager into the hall must be able to close off the cell once the villager enters to prevent more villagers from entering that cell, and to open the next cell to allow for a villager to enter.