Examples of offsetMinMax()


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

    // First wall
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    if (left) {
      box.offsetMinMax(0, 0, 0, -4, 0, 0);
    } else {
      box.offsetMinMax(4, 0, 0, 0, 0, 0);
    }
    box.fill();
    // Windows for the first wall
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    if (left) {
View Full Code Here

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

      box.setMinMax(0, 3, 1, 0, 4, 1);
    } else {
      box.setMinMax(4, 3, 1, 4, 4, 1);
    }
    box.fill();
    box.offsetMinMax(0, 0, 2, 0, 0, 2).fill();
    // Second wall
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    if (left) {
      box.setMinMax(4, 2, 0, 4, 5, 0).fill();
      box.offsetMinMax(-3, 0, 4, 0, 0, 4).fill();
View Full Code Here

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

    box.offsetMinMax(0, 0, 2, 0, 0, 2).fill();
    // Second wall
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    if (left) {
      box.setMinMax(4, 2, 0, 4, 5, 0).fill();
      box.offsetMinMax(-3, 0, 4, 0, 0, 4).fill();
    } else {
      box.setMinMax(0, 2, 0, 0, 5, 0).fill();
      box.offsetMinMax(0, 0, 4, 3, 0, 4).fill();
    }
    // Windows for the second wall
View Full Code Here

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

    if (left) {
      box.setMinMax(4, 2, 0, 4, 5, 0).fill();
      box.offsetMinMax(-3, 0, 4, 0, 0, 4).fill();
    } else {
      box.setMinMax(0, 2, 0, 0, 5, 0).fill();
      box.offsetMinMax(0, 0, 4, 3, 0, 4).fill();
    }
    // Windows for the second wall
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(1, 3, 4, 1, 4, 4).fill();
    box.offsetMinMax(2, 0, 0, 2, 0, 0).fill();
View Full Code Here

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

      box.offsetMinMax(0, 0, 4, 3, 0, 4).fill();
    }
    // Windows for the second wall
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(1, 3, 4, 1, 4, 4).fill();
    box.offsetMinMax(2, 0, 0, 2, 0, 0).fill();
    // Roof
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(0, 6, 0, 4, 6, 4).fill();
    // Fill down to the ground
    for (int xx = 0; xx <= 4; xx++) {
View Full Code Here

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

    // Floor
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-1, 0, 0, 5, 1, 6).fill();
    // Interior space
    picker.setOuterInnerMaterials(VanillaMaterials.AIR, VanillaMaterials.AIR);
    box.offsetMinMax(0, 2, 0, 0, 6, 0).fill();
    // The four corner columns
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-1, 2, 0, 0, 6, 0).fill();
    box.offsetMinMax(0, 0, 6, 0, 0, 6).fill();
    box.offsetMinMax(5, 0, -6, 5, 0, -6).fill();
View Full Code Here

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

    picker.setOuterInnerMaterials(VanillaMaterials.AIR, VanillaMaterials.AIR);
    box.offsetMinMax(0, 2, 0, 0, 6, 0).fill();
    // The four corner columns
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-1, 2, 0, 0, 6, 0).fill();
    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();
View Full Code Here

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

    box.offsetMinMax(0, 2, 0, 0, 6, 0).fill();
    // The four corner columns
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-1, 2, 0, 0, 6, 0).fill();
    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();
View Full Code Here

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

    // The four corner columns
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-1, 2, 0, 0, 6, 0).fill();
    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
View Full Code Here

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

    box.setMinMax(-1, 2, 0, 0, 6, 0).fill();
    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);
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.