public static void doFakeEntityExplosion(EntityPlayer entityplayer){
  World world=entityplayer.worldObj;
  world.spawnParticle("hugeexplosion",entityplayer.posX,entityplayer.posY,entityplayer.posZ,0.0D,0.0D,0.0D);
  world.playSoundAtEntity(entityplayer,"random.explode",1.0F,1.0F);
}

public static void doFakeEntityExplosion ( EntityPlayer entityplayer ) { World world = entityplayer . worldObj ; world . spawnParticle ( "hugeexplosion" , entityplayer . posX , entityplayer . posY , entityplayer . posZ , 0.0D , 0.0D , 0.0D ) ; world . playSoundAtEntity ( entityplayer , "random.explode" , 1.0F , 1.0F ) ; }
creates a fake explosion at the declared player , with only sounds and effects . no damage is caused to either blocks or the player .
