A decent mountain bike will not have an issue with those. Keep in mind there is a big difference between mountain bikes and BMX bikes. If all you want to do are “stunts” then think about a BMX bike. You can get something a lot more sturdy for less money. The trade off is you can’t really ride a lot of trails or go long distances on one.