Cavitation bubbles are a topic of long-standing interest owing to the powerful phenomena associated with their collapse. Their unique ability to focus energy typically causes damage in hydraulic machinery (turbines, pumps, propellers, ...) but, if managed correctly, can also be beneficial in numerous applications such as cleaning practices and biomedical sciences. Here the complex problem of cavitation, often multi-scale both in time and space, is reduced to a simplified case study of the collapse of a single, initially spherical bubble. We study the bubble's energy distribution into its distinct collapse phenomena, namely the micro-jets, shock waves and luminescence, and aim to quantify and predict how such a distribution is affected by the bubble's deformation. Combining experiments with statistical analysis, numerical simulations and theoretical models, we seek to quantify and predict the key properties characterising each of the collapse phenomena. The deformation of bubbles is characterised by the liquid micro-jets formed during their non-spherical collapse. A unified framework is proposed to describe the dynamics of such jets, driven by different external sources, through an anisotropy parameter ζ, which represents a dimensionless quantity of the liquid momentum at the bubble collapse (Kelvin impulse). The bubbles are carefully deformed in variable gravity aboard European Space Agency parabolic flights or by introducing surfaces nearby. Through high-speed visualisation, we measure key quantities associated with the micro-jet dynamics (e.g. jet speed, impact timing), which, upon normalisation, reduce to straightforward functions of ζ. This is verified by numerical simulations based on potential flow theory. Below a certain threshold, all of these functions can be approximated by useful power laws of ζ that are independent of the micro-jet driver. For bubbles collapsing near a free surface, we identify and measure the shock waves generated through distinct mechanisms, such as the jet impact onto the opposite bubble wall and the individual collapses of the remaining bubble segments. The energy carried by each of these shocks is found to vary with ζ. We find that for bubbles that produce jets, the shock wave peak pressure may be approximated by the jet-induced water hammer pressure as a function of ζ. Following such an approximation, we also develop a semi-empirical model to explain the shock energy variation with ζ. Finally, an innovative luminescence detection system is built to overcome the challenge of measuring the spectra (300-900nm) of the weak, small, rapid and migrating flash light from individual bubble collapses. We find an approximately exponential quenching of the luminescence energy as a function of ζ. Surprisingly, the blackbody temperature of luminescence does not vary with ζ. Multiple peaks are measured within a time frame of approximately 200ns, implying non-uniform gas compression during the collapse. Overall, these results help in predicting bubble collapse characteristics in known pressure fields and can be useful for numerical benchmarking