Preheat oven to 325°F.
Fry the bacon until crisp. Remove and reserve.
Sauté the diced onion in a little bacon grease until tender.
In a large Dutch oven or mixing bowl, combine the pork and beans, kidney beans, and black beans.
Stir in the bacon, onions, brown sugar, apple cider vinegar, mustard, ketchup, garlic, smoked paprika, garlic powder, Worcestershire sauce, and liquid smoke.
Fold in the green chiles if making the Southwestern version.
Pour into a greased 9×13-inch baking dish or disposable aluminum pan.
Bake uncovered for 1 hour, stirring once halfway through if desired.
Serve hot.