Minecraft wiki entry for Minecart, associated text: A mob can ride a minecart by a player placing the minecart under a mob, or by the mob moving into the minecart's space. Some mobs are able to nudge minecarts while in them, like players.