Minecraft wiki entry for Minecart_with_Chest, associated text: When on top of detector rails, nearby redstone comparators will give out redstone signals based on how full the minecarts with chests are.