* @param entity to be damagedd
* @param cause of the damage
* @param damage to deal
*/
public static void damage(org.bukkit.entity.Entity entity, DamageCause cause, double damage) {
DamageSource source;
if (cause == DamageCause.BLOCK_EXPLOSION) {
Location loc = entity.getLocation();
World worldhandle = CommonNMS.getNative(loc.getWorld());
Explosion ex = new Explosion(worldhandle, null, loc.getX(), loc.getY(), loc.getZ(), (float) 4.0);
source = DamageSource.explosion(ex);