Add the pieces of pork to a pressure cooker. Add the ginger, garlic, onions, chillies, and star anise. Add water and give it a good mix. Close the pressure cooker and cook for about 45 minutes.