well, I have a room full of grass with a minecart that runs through it picking up mobs, if a mob is picked up the cart will carry the mob into a different area where, hopefully, the mob can be dropped off and the cart can be sent back into the collection room. So I'd need it to be automatic.
Can mobs be forced out of a minecart?