Package com.sk89q.craftbook.util

Examples of com.sk89q.craftbook.util.Vector.subtract()


        Vector otherSideBlockPt = pt.add(vertDir.multiply(dist + 2));

        // Check the other side to see if it's built correctly
        if (world.getId(otherSideBlockPt) != type
                || world.getId(otherSideBlockPt.add(sideDir)) != type
                || world.getId(otherSideBlockPt.subtract(sideDir)) != type) {
            throw new InvalidConstructionException(
                    "The other side must be made with the same blocks.");
        }

        if (toOpen) {
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.