Package appeng.hooks

Examples of appeng.hooks.CompassResult


      }

      int x = (int) p.posX;
      int y = (int) p.posY;
      int z = (int) p.posZ;
      CompassResult cr = CompassManager.instance.getCompassDirection( 0, x, y, z );

      for (int i = 0; i < 3; i++)
        for (int j = 0; j < 3; j++)
          CompassManager.instance.getCompassDirection( 0, x + i - 1, y, z + j - 1 );
View Full Code Here


    GL11.glScalef( 1.0F, -1F, -1F );
    GL11.glTranslatef( 0.5F, -1.5F, -0.5F );

    long now = System.currentTimeMillis();

    CompassResult cr = null;
    if ( skyCompass.getForward() == ForgeDirection.UP || skyCompass.getForward() == ForgeDirection.DOWN )
      cr = CompassManager.instance.getCompassDirection( 0, tile.xCoord, tile.yCoord, tile.zCoord );
    else
      cr = new CompassResult( false, true, 0 );

    if ( cr.hasResult )
    {
      if ( cr.spin )
      {
View Full Code Here

    attunement = stream.readLong();
    cx = stream.readInt();
    cz = stream.readInt();
    cdy = stream.readInt();

    cr = new CompassResult( stream.readBoolean(), stream.readBoolean(), stream.readDouble() );
  }
View Full Code Here

TOP

Related Classes of appeng.hooks.CompassResult

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.