Program: 169808
Project: 169808
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()) {
            worldObj.spawnParticle("String_Node_Str",searchPosition.x,searchPosition.y,searchPosition.z,0,0,0);
          }
          int blockID=searchPosition.getBlockID(worldObj);
          Block block=Block.blocksList[blockID];
          TileEntity tileEntity=searchPosition.getTileEntity(worldObj);
          if (block != null) {
            if (block instanceof IForceFieldBlock) {
              ((IForceFieldBlock)Block.blocksList[blockID]).weakenForceField(worldObj,searchPosition.intX(),searchPosition.intY(),searchPosition.intZ(),1000);
            }
 else             if (block instanceof IEMPBlock) {
              ((IEMPBlock)block).onEMP(worldObj,searchPosition,this);
            }
 else             if (tileEntity != null) {
              if (tileEntity instanceof IFortronStorage) {
                ((IFortronStorage)tileEntity).provideFortron((int)worldObj.rand.nextFloat() * ((IFortronStorage)tileEntity).getFortronCapacity(),true);
              }
              if (tileEntity instanceof IEnergyContainer) {
                ((IEnergyContainer)tileEntity).setEnergy(null,0);
              }
 else               if (tileEntity instanceof IEnergyStorage) {
                ((IEnergyStorage)tileEntity).setStored(0);
              }
              CompatibilityModule.extractEnergy(tileEntity,ForgeDirection.UNKNOWN,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=worldObj.getEntitiesWithinAABB(Entity.class,bounds);
    for (    Entity entity : entities) {
      if (entity instanceof EntityLivingBase) {
        if (this.worldObj.isRemote && maxFx > 0) {
          ICBMExplosion.proxy.spawnShock(this.worldObj,this.position,new Vector3(entity),20);
          maxFx--;
        }
        if (entity instanceof EntityCreeper) {
          if (!this.worldObj.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",worldObj,position,0,0,0,0,0,255,10,3);
  this.worldObj.playSoundEffect(position.x,position.y,position.z,Reference.PREFIX + "String_Node_Str",4.0F,(1.0F + (worldObj.rand.nextFloat() - worldObj.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=Vector3.translate(position,new Vector3(x,y,z));
          if (dist > this.getRadius())           continue;
          if (Math.round(position.x + y) == position.intY()) {
            worldObj.spawnParticle("String_Node_Str",searchPosition.x,searchPosition.y,searchPosition.z,0,0,0);
          }
          int blockID=searchPosition.getBlockID(worldObj);
          Block block=Block.blocksList[blockID];
          TileEntity tileEntity=searchPosition.getTileEntity(worldObj);
          if (block != null) {
            if (block instanceof IForceFieldBlock) {
              ((IForceFieldBlock)Block.blocksList[blockID]).weakenForceField(worldObj,searchPosition.intX(),searchPosition.intY(),searchPosition.intZ(),1000);
            }
 else             if (block instanceof IEMPBlock) {
              ((IEMPBlock)block).onEMP(worldObj,searchPosition,this);
            }
          }
          if (tileEntity != null) {
            if (tileEntity instanceof IFortronStorage) {
              ((IFortronStorage)tileEntity).provideFortron((int)worldObj.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=worldObj.getEntitiesWithinAABB(Entity.class,bounds);
    for (    Entity entity : entities) {
      if (entity instanceof EntityLivingBase) {
        if (this.worldObj.isRemote && maxFx > 0) {
          ICBMExplosion.proxy.spawnShock(this.worldObj,this.position,new Vector3(entity),20);
          maxFx--;
        }
        if (entity instanceof EntityCreeper) {
          if (!this.worldObj.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",worldObj,position,0,0,0,0,0,255,10,3);
  this.worldObj.playSoundEffect(position.x,position.y,position.z,Reference.PREFIX + "String_Node_Str",4.0F,(1.0F + (worldObj.rand.nextFloat() - worldObj.rand.nextFloat()) * 0.2F) * 0.7F);
}