Package buildcraft.core.blueprints

Examples of buildcraft.core.blueprints.BptBuilderBase


    /**
     * Return false when reached the end of the iteration
     */
    public BptBuilderBase next() {
      while (true) {
        BptBuilderBase bpt;

        int newX = Math.round(ix);
        int newY = Math.round(iy);
        int newZ = Math.round(iz);

        bpt = instanciateBluePrintBuilder(newX, newY, newZ, o);

        if (bpt == null) {
          return null;
        }

        AxisAlignedBB boundingBox = bpt.getBoundingBox();

        if (oldBoundingBox == null || !collision(oldBoundingBox, boundingBox)) {

          oldBoundingBox = boundingBox;

View Full Code Here

TOP

Related Classes of buildcraft.core.blueprints.BptBuilderBase

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.