Minecraft wiki entry for Minecarts, associated text: To build, a tripwire is attached to hooks one block above the track. Two blocks further is a junction which is set by default to turn empty carts back to the station. An empty minecart does not trigger the tripwire, so it is sent back. An occupied minecart crossing a tripwire sends a short pulse to the junction and continue along the rest of the track.