Package appeng.client.render.effects

Examples of appeng.client.render.effects.LightningFX


        for (int bolts = 0; bolts < 3; bolts++)
        {
          if ( CommonHelper.proxy.shouldAddParticles( r ) )
          {
            LightningFX fx = new LightningFX( w, xOff + 0.5 + x, yOff + 0.5 + y, zOff + 0.5 + z, 0.0D, 0.0D, 0.0D );
            Minecraft.getMinecraft().effectRenderer.addEffect( fx );
          }
        }

      }
View Full Code Here


    double zOff = -0.3 * up.offsetZ;
    for (int bolts = 0; bolts < 3; bolts++)
    {
      if ( CommonHelper.proxy.shouldAddParticles( r ) )
      {
        LightningFX fx = new LightningFX( w, xOff + 0.5 + x, yOff + 0.5 + y, zOff + 0.5 + z, 0.0D, 0.0D, 0.0D );

        Minecraft.getMinecraft().effectRenderer.addEffect( fx );
      }
    }
  }
View Full Code Here

      rx += dz * forward.offsetX;
      ry += dz * forward.offsetY;
      rz += dz * forward.offsetZ;

      LightningFX fx = new LightningFX( w, rx, ry, rz, 0.0D, 0.0D, 0.0D );
      Minecraft.getMinecraft().effectRenderer.addEffect( fx );
    }
  }
View Full Code Here

  {
    try
    {
      if ( Platform.isClient() && AEConfig.instance.enableEffects )
      {
        LightningFX fx = new LightningFX( ClientHelper.proxy.getWorld(), x, y, z, 0.0f, 0.0f, 0.0f );
        Minecraft.getMinecraft().effectRenderer.addEffect( fx );
      }
    }
    catch (Exception ignored)
    {
View Full Code Here

    }
  }

  private void spawnLightningArc(World worldObj, double posX, double posY, double posZ, Vec3 second)
  {
    LightningFX fx = new LightningArcFX( worldObj, posX, posY, posZ, second.xCoord, second.yCoord, second.zCoord, 0.0f, 0.0f, 0.0f );
    Minecraft.getMinecraft().effectRenderer.addEffect( fx );
  }
View Full Code Here

    Minecraft.getMinecraft().effectRenderer.addEffect( fx );
  }

  private void spawnLightning(World worldObj, double posX, double posY, double posZ)
  {
    LightningFX fx = new LightningFX( worldObj, posX, posY + 0.3f, posZ, 0.0f, 0.0f, 0.0f );
    Minecraft.getMinecraft().effectRenderer.addEffect( fx );
  }
View Full Code Here

TOP

Related Classes of appeng.client.render.effects.LightningFX

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.