Examples of offsetMinMax()


Examples of org.spout.vanilla.world.generator.structure.PieceCuboidBuilder.offsetMinMax()

    box.offsetMinMax(0, 0, 6, 0, 0, 6).fill();
    box.offsetMinMax(5, 0, -6, 5, 0, -6).fill();
    box.offsetMinMax(0, 0, 6, 0, 0, 6).fill();
    box.setMinMax(-1, 2, 0, -1, 6, 1).fill();
    box.offsetMinMax(0, 0, 5, 0, 0, 5).fill();
    box.offsetMinMax(6, 0, -5, 6, 0, -5).fill();
    box.offsetMinMax(0, 0, 5, 0, 0, 5).fill();
    // Connect the corner columns horizontally at the ceiling to create gateways
    box.setMinMax(1, 6, 0, 3, 6, 0).fill();
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.offsetMinMax(0, -1, 0, 0, -1, 0).fill();
View Full Code Here

Examples of org.spout.vanilla.world.generator.structure.PiecePlaneBuilder.offsetMinMax()

    box.setMinMax(0, -4, 0, 20, 0, 20).fill();
    // Pyramid
    picker.setOuterInnerMaterials(VanillaMaterials.SANDSTONE, VanillaMaterials.AIR);
    plane.setMinMax(0, 0, 0, 20, 0, 20);
    for (byte yy = 1; yy < 10; yy++) {
      plane.offsetMinMax(1, 1, 1, -1, 1, -1);
      plane.fill();
    }
    // Fill the land under
    for (byte xx = 0; xx < 21; xx++) {
      for (byte zz = 0; zz < 21; zz++) {
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.