@SideOnly(Side.CLIENT)
 private void chargingParticles() {
   if (worldObj.rand.nextInt(4) == 0) {
     int dx = worldObj.rand.nextBoolean() ? 3 : -3;
     int dz = worldObj.rand.nextBoolean() ? 3 : -3;
     int x = xCoord + dx;
     int y = yCoord + 5;
     int z = zCoord + dz;
     if (worldObj.getBlock(x, y, z) == ChromaBlocks.PYLONSTRUCT.getBlockInstance()
         && worldObj.getBlockMetadata(x, y, z) == 5) {
       // EntityFX fx = new EntityBoltFX(worldObj, x+0.5, y+0.5, z+0.5, x+5, y, z+5);
       double px = x + worldObj.rand.nextDouble();
       double py = y + worldObj.rand.nextDouble();
       double pz = z + worldObj.rand.nextDouble();
       EntityBallLightningFX fx =
           new EntityBallLightningFX(
               worldObj, px, py, pz, CrystalElement.elements[ticks / 8 % 16]);
       fx.noClip = false;
       double v = 0.125;
       double vx = v * -Math.signum(dx);
       double vy = -0.125;
       double vz = v * -Math.signum(dz);
       fx.motionX = vx;
       fx.motionY = vy;
       fx.motionZ = vz;
       Minecraft.getMinecraft().effectRenderer.addEffect(fx);
     }
   }
 }
 @SideOnly(Side.CLIENT)
 private void spawnLightning(World world, int x, int y, int z) {
   EntityBallLightningFX e = new EntityBallLightningFX(world, x + 0.5, y + 0.5, z + 0.5, color);
   e.setVelocity(0.125, rand.nextInt(360), 0);
   Minecraft.getMinecraft().effectRenderer.addEffect(e);
 }