Examples of rotateEngine()


Examples of forestry.core.gadgets.Engine.rotateEngine()

    if (player.isSneaking())
      return false;

    Engine tile = (Engine) world.getTileEntity(x, y, z);
    if (player.getCurrentEquippedItem() != null && Utils.canWrench(player, x, y, z)) {
      tile.rotateEngine();
      Utils.useWrench(player, x, y, z);
      return true;
    }

    return false;
View Full Code Here

Examples of forestry.core.gadgets.Engine.rotateEngine()

  }

  @Override
  public boolean rotateBlock(World world, int x, int y, int z, ForgeDirection axis) {
    Engine tile = (Engine) world.getTileEntity(x, y, z);
    tile.rotateEngine();
    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.