Examples of ICrankable


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

Examples of appeng.api.implementations.tiles.ICrankable

    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
Copyright © 2018 www.massapi.com. 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.