Program: 169699
Project: 169699
Buggy source:
@Override public void doExplode(){
  if (this.effectBlocks) {
    for (int x=(int)-this.getRadius(); x < (int)this.getRadius(); x++) {
      for (int y=(int)-this.getRadius(); y < (int)this.getRadius(); y++) {
        for (int z=(int)-this.getRadius(); z < (int)this.getRadius(); z++) {
          double dist=MathHelper.sqrt_double((x * x + y * y + z * z));
          Vector3 searchPosition=Vector3.translate(position,new Vector3(x,y,z));
          if (dist > this.getRadius())           continue;
          if (Math.round(position.x + y) == position.intY()) {
            world().spawnParticle("String_Node_Str",searchPosition.x,searchPosition.y,searchPosition.z,0,0,0);
          }
          int blockID=searchPosition.getBlockID(world());
          Block block=Block.blocksList[blockID];
          TileEntity tileEntity=searchPosition.getTileEntity(world());
          if (block != null) {
            if (block instanceof IForceFieldBlock) {
              ((IForceFieldBlock)Block.blocksList[blockID]).weakenForceField(world(),searchPosition.intX(),searchPosition.intY(),searchPosition.intZ(),1000);
            }
 else             if (block instanceof IEMPBlock) {
              ((IEMPBlock)block).onEMP(world(),searchPosition.intX(),searchPosition.intY(),searchPosition.intZ(),this);
            }
          }
          if (tileEntity != null) {
            if (tileEntity instanceof IFortronStorage) {
              ((IFortronStorage)tileEntity).provideFortron((int)world().rand.nextFloat() * ((IFortronStorage)tileEntity).getFortronCapacity(),true);
            }
            if (tileEntity instanceof IEnergyContainer) {
              ((IEnergyContainer)tileEntity).setEnergy(null,0);
            }
            if (tileEntity instanceof IEnergyStorage) {
              ((IEnergyStorage)tileEntity).setStored(0);
            }
            for (            ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS)             CompatibilityModule.extractEnergy(tileEntity,dir,Integer.MAX_VALUE,true);
          }
        }
      }
    }
  }
  if (this.effectEntities) {
    List<Entity> entitiesNearby=RadarRegistry.getEntitiesWithinRadius(position.toVector2(),(int)this.getRadius());
    for (    Entity entity : entitiesNearby) {
      if (entity instanceof IMissile && !entity.isEntityEqual(this.controller)) {
        if (((IMissile)entity).getTicksInAir() > -1) {
          ((IMissile)entity).dropMissileAsItem();
        }
      }
    }
    int maxFx=10;
    AxisAlignedBB bounds=AxisAlignedBB.getBoundingBox(position.x - this.getRadius(),position.y - this.getRadius(),position.z - this.getRadius(),position.x + this.getRadius(),position.y + this.getRadius(),position.z + this.getRadius());
    List<Entity> entities=world().getEntitiesWithinAABB(Entity.class,bounds);
    for (    Entity entity : entities) {
      if (entity instanceof EntityLivingBase) {
        if (this.world().isRemote && maxFx > 0) {
          ICBMExplosion.proxy.spawnShock(this.world(),this.position,new Vector3(entity),20);
          maxFx--;
        }
        if (entity instanceof EntityCreeper) {
          if (!this.world().isRemote) {
            try {
              ((EntityCreeper)entity).getDataWatcher().updateObject(17,(byte)1);
            }
 catch (            Exception e) {
              e.printStackTrace();
            }
          }
        }
        if (entity instanceof EntityPlayer) {
          IInventory inventory=((EntityPlayer)entity).inventory;
          for (int i=0; i < inventory.getSizeInventory(); i++) {
            ItemStack itemStack=inventory.getStackInSlot(i);
            if (itemStack != null) {
              if (itemStack.getItem() instanceof IEMPItem) {
                ((IEMPItem)itemStack.getItem()).onEMP(itemStack,entity,this);
              }
 else               if (itemStack.getItem() instanceof IEnergyItem) {
                ((IEnergyItem)itemStack.getItem()).setEnergy(itemStack,0);
              }
 else               if (itemStack.getItem() instanceof ISpecialElectricItem) {
                ((ISpecialElectricItem)itemStack.getItem()).getManager(itemStack).discharge(itemStack,((ISpecialElectricItem)itemStack.getItem()).getMaxCharge(itemStack),0,true,false);
              }
            }
          }
        }
      }
 else       if (entity instanceof EntityExplosive) {
        entity.setDead();
      }
    }
  }
  ICBMExplosion.proxy.spawnParticle("String_Node_Str",world(),position,0,0,0,0,0,255,10,3);
  this.world().playSoundEffect(position.x,position.y,position.z,Reference.PREFIX + "String_Node_Str",4.0F,(1.0F + (world().rand.nextFloat() - world().rand.nextFloat()) * 0.2F) * 0.7F);
}

Fixed version (ground truth):
@Override public void doExplode(){
  if (this.effectBlocks) {
    for (int x=(int)-this.getRadius(); x < (int)this.getRadius(); x++) {
      for (int y=(int)-this.getRadius(); y < (int)this.getRadius(); y++) {
        for (int z=(int)-this.getRadius(); z < (int)this.getRadius(); z++) {
          double dist=MathHelper.sqrt_double((x * x + y * y + z * z));
          Vector3 searchPosition=position.add(new Vector3(x,y,z));
          if (dist > this.getRadius())           continue;
          if (Math.round(position.x() + y) == position.yi()) {
            world().spawnParticle("String_Node_Str",searchPosition.x(),searchPosition.y(),searchPosition.z(),0,0,0);
          }
          Block block=searchPosition.getBlock(world());
          TileEntity tileEntity=searchPosition.getTileEntity(world());
          if (block != null) {
          }
          if (block instanceof IEMPBlock) {
            ((IEMPBlock)block).onEMP(world(),searchPosition.xi(),searchPosition.yi(),searchPosition.zi(),this);
          }
          if (tileEntity != null) {
            if (tileEntity instanceof IFortronStorage) {
              ((IFortronStorage)tileEntity).provideFortron((int)world().rand.nextFloat() * ((IFortronStorage)tileEntity).getFortronCapacity(),true);
            }
            if (tileEntity instanceof IEnergyStorage) {
              ((IEnergyStorage)tileEntity).setStored(0);
            }
            for (            ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS)             Compatibility.extractEnergy(tileEntity,dir,Integer.MAX_VALUE,true);
          }
        }
      }
    }
  }
  if (this.effectEntities) {
    List<Entity> entitiesNearby=RadarRegistry.getEntitiesWithinRadius(position.toVector2(),(int)this.getRadius());
    for (    Entity entity : entitiesNearby) {
      if (entity instanceof IMissile && !entity.isEntityEqual(this.controller)) {
        if (((IMissile)entity).getTicksInAir() > -1) {
          ((IMissile)entity).dropMissileAsItem();
        }
      }
    }
    int maxFx=10;
    AxisAlignedBB bounds=AxisAlignedBB.getBoundingBox(position.x() - this.getRadius(),position.y() - this.getRadius(),position.z() - this.getRadius(),position.x() + this.getRadius(),position.y() + this.getRadius(),position.z() + this.getRadius());
    List<Entity> entities=world().getEntitiesWithinAABB(Entity.class,bounds);
    for (    Entity entity : entities) {
      if (entity instanceof EntityLivingBase) {
        if (this.world().isRemote && maxFx > 0) {
          ICBMExplosion.proxy.spawnShock(this.world(),this.position,new Vector3(entity),20);
          maxFx--;
        }
        if (entity instanceof EntityCreeper) {
          if (!this.world().isRemote) {
            try {
              ((EntityCreeper)entity).getDataWatcher().updateObject(17,(byte)1);
            }
 catch (            Exception e) {
              e.printStackTrace();
            }
          }
        }
        if (entity instanceof EntityPlayer) {
          IInventory inventory=((EntityPlayer)entity).inventory;
          for (int i=0; i < inventory.getSizeInventory(); i++) {
            ItemStack itemStack=inventory.getStackInSlot(i);
            if (itemStack != null) {
              if (itemStack.getItem() instanceof IEMPItem) {
                ((IEMPItem)itemStack.getItem()).onEMP(itemStack,entity,this);
              }
 else               if (itemStack.getItem() instanceof IEnergyItem) {
                ((IEnergyItem)itemStack.getItem()).setEnergy(itemStack,0);
              }
 else               if (itemStack.getItem() instanceof ISpecialElectricItem) {
                ((ISpecialElectricItem)itemStack.getItem()).getManager(itemStack).discharge(itemStack,((ISpecialElectricItem)itemStack.getItem()).getMaxCharge(itemStack),0,true,false);
              }
            }
          }
        }
      }
 else       if (entity instanceof EntityExplosive) {
        entity.setDead();
      }
    }
  }
  ICBMExplosion.proxy.spawnParticle("String_Node_Str",world(),position,0,0,0,0,0,255,10,3);
  this.world().playSoundEffect(position.x(),position.y(),position.z(),Reference.PREFIX + "String_Node_Str",4.0F,(1.0F + (world().rand.nextFloat() - world().rand.nextFloat()) * 0.2F) * 0.7F);
}