Minecraft wiki entry for Digital_minecart_storage_system, associated text: You can recognize from which direction the minecart has to drive, by building some similar formation of power rails like this: