Rinse the jasmine rice under cold water until the water runs clear.
In a rice cooker or pot, combine the rinsed rice, coconut milk, water, salt, and pandan leaves (if using).
Cook according to the rice cooker instructions or bring to a boil, then reduce to low heat, cover, and simmer for 15-20 minutes or until the rice is cooked and fluffy.
Heat vegetable oil in a saucepan over medium heat.
Add the chopped onion and minced garlic, and sauté until fragrant and golden.
Stir in the red chili paste and belacan (or soy sauce). Cook for a few minutes until the oil starts to separate from the paste.
Add the tamarind paste, brown sugar, and water. Stir well and simmer for 10-15 minutes until the sambal thickens. Season with salt to taste.
Roast the peanuts in a dry pan until golden brown and crunchy.
Fry the anchovies until crispy, then drain on paper towels.
Boil the eggs until hard-boiled (about 10 minutes), then peel and halve.
Slice the cucumber.
Enjoy your meal!