Package appeng.api.implementations.tiles

Examples of appeng.api.implementations.tiles.ICrankable


      visibleRotation -= 360 / (ticksPerRotation);
      charge++;
      if ( charge >= ticksPerRotation )
      {
        charge -= ticksPerRotation;
        ICrankable g = getGrinder();
        if ( g != null )
          g.applyTurn();
      }

      rotation--;
    }
  }
View Full Code Here


    if ( Platform.isClient() )
      return false;

    if ( rotation < 3 )
    {
      ICrankable g = getGrinder();
      if ( g != null )
      {
        if ( g.canTurn() )
        {
          hits = 0;
          rotation += ticksPerRotation;
          this.markForUpdate();
          return true;
View Full Code Here

TOP

Related Classes of appeng.api.implementations.tiles.ICrankable

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.