Package com.sk89q.worldedit.regions.selector

Examples of com.sk89q.worldedit.regions.selector.ConvexPolyhedralRegionSelector


            player.print("Sphere selector: left click=center, right click to set radius");
        } else if (typeName.equalsIgnoreCase("cyl")) {
            selector = new CylinderRegionSelector(oldSelector);
            player.print("Cylindrical selector: Left click=center, right click to extend.");
        } else if (typeName.equalsIgnoreCase("convex") || typeName.equalsIgnoreCase("hull") || typeName.equalsIgnoreCase("polyhedron")) {
            selector = new ConvexPolyhedralRegionSelector(oldSelector);
            player.print("Convex polyhedral selector: Left click=First vertex, right click to add more.");
            Optional<Integer> limit = ActorSelectorLimits.forActor(player).getPolyhedronVertexLimit();
            if (limit.isPresent()) {
                player.print(limit.get() + " points maximum.");
            }
View Full Code Here

TOP

Related Classes of com.sk89q.worldedit.regions.selector.ConvexPolyhedralRegionSelector

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.