Package appeng.tile.misc

Examples of appeng.tile.misc.TileQuartzGrowthAccelerator


  public void randomDisplayTick(World w, int x, int y, int z, Random r)
  {
    if ( !AEConfig.instance.enableEffects )
      return;

    TileQuartzGrowthAccelerator tileQuartzGrowthAccelerator = getTileEntity( w, x, y, z );

    if ( tileQuartzGrowthAccelerator != null && tileQuartzGrowthAccelerator.hasPower && CommonHelper.proxy.shouldAddParticles( r ) )
    {
      double d0 = r.nextFloat() - 0.5F;
      double d1 = r.nextFloat() - 0.5F;

      ForgeDirection up = tileQuartzGrowthAccelerator.getUp();
      ForgeDirection forward = tileQuartzGrowthAccelerator.getForward();
      ForgeDirection west = Platform.crossProduct( forward, up );

      double rx = 0.5 + x;
      double ry = 0.5 + y;
      double rz = 0.5 + z;
View Full Code Here

TOP

Related Classes of appeng.tile.misc.TileQuartzGrowthAccelerator

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.