Package org.spout.vanilla.world.generator.structure

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


    box.setMinMax(-2, 3, 6, -2, 3, 7).fill();
    box.offsetMinMax(8, 0, 0, 8, 0, 0).fill();
    // Wall separating the room and balcony
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-2, 3, 4, -2, 5, 5).fill();
    box.offsetMinMax(8, 0, 0, 8, 0, 0).fill();
    box.setMinMax(-1, 3, 5, 0, 5, 5).fill();
    box.offsetMinMax(5, 0, 0, 5, 0, 0).fill();
    // Windows for that wall
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(-1, 4, 5, -1, 5, 5).fill();
View Full Code Here


    box.setPicker(cobble);
    for (int i = 0; i < 2; i++) {
      box.setMinMax(2, 4, i * 14, 2, 5, i * 14).fill();
      box.offsetMinMax(2, 0, 0, 2, 0, 0).fill();
      box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
      box.offsetMinMax(2, 0, 0, 2, 0, 0).fill();
    }
    box.setMinMax(5, 6, 0, 6, 6, 0).fill();
    for (int i = 0; i < 2; i++) {
      for (int ii = 2; ii <= 12; ii += 2) {
        box.setMinMax(i * 11, 4, ii, i * 11, 5, ii).fill();
View Full Code Here

    // Wall separating the room and balcony
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-2, 3, 4, -2, 5, 5).fill();
    box.offsetMinMax(8, 0, 0, 8, 0, 0).fill();
    box.setMinMax(-1, 3, 5, 0, 5, 5).fill();
    box.offsetMinMax(5, 0, 0, 5, 0, 0).fill();
    // Windows for that wall
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(-1, 4, 5, -1, 5, 5).fill();
    box.offsetMinMax(6, 0, 0, 6, 0, 0).fill();
    // Fill down to the ground
View Full Code Here

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

    for (int i = 0; i < 2; i++) {
      for (int ii = 2; ii <= 12; ii += 2) {
        box.setMinMax(i * 11, 4, ii, i * 11, 5, ii).fill();
      }
      box.setMinMax(i * 11, 6, 5, i * 11, 6, 5).fill();
      box.offsetMinMax(0, 0, 4, 0, 0, 4).fill();
    }
    // Rooftop decoration
    box.setMinMax(2, 7, 2, 2, 9, 2).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.offsetMinMax(-7, 0, 10, -7, 0, 10).fill();
View Full Code Here

      box.setMinMax(i * 11, 6, 5, i * 11, 6, 5).fill();
      box.offsetMinMax(0, 0, 4, 0, 0, 4).fill();
    }
    // Rooftop decoration
    box.setMinMax(2, 7, 2, 2, 9, 2).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.offsetMinMax(-7, 0, 10, -7, 0, 10).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.setMinMax(4, 9, 4, 4, 9, 4).fill();
    box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
    box.offsetMinMax(-3, 0, 6, -3, 0, 6).fill();
View Full Code Here

      box.offsetMinMax(0, 0, 4, 0, 0, 4).fill();
    }
    // Rooftop decoration
    box.setMinMax(2, 7, 2, 2, 9, 2).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.offsetMinMax(-7, 0, 10, -7, 0, 10).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.setMinMax(4, 9, 4, 4, 9, 4).fill();
    box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
    box.offsetMinMax(-3, 0, 6, -3, 0, 6).fill();
    box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
View Full Code Here

    }
    // Rooftop decoration
    box.setMinMax(2, 7, 2, 2, 9, 2).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.offsetMinMax(-7, 0, 10, -7, 0, 10).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.setMinMax(4, 9, 4, 4, 9, 4).fill();
    box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
    box.offsetMinMax(-3, 0, 6, -3, 0, 6).fill();
    box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
    box.setMinMax(5, 9, 7, 6, 9, 7).fill();
View Full Code Here

    box.setMinMax(2, 7, 2, 2, 9, 2).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.offsetMinMax(-7, 0, 10, -7, 0, 10).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.setMinMax(4, 9, 4, 4, 9, 4).fill();
    box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
    box.offsetMinMax(-3, 0, 6, -3, 0, 6).fill();
    box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
    box.setMinMax(5, 9, 7, 6, 9, 7).fill();
    // Place ALL the stairs!
    setBlockMaterial(5, 9, 6, VanillaMaterials.STAIRS_COBBLESTONE, (short) 2);
View Full Code Here

    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.offsetMinMax(-7, 0, 10, -7, 0, 10).fill();
    box.offsetMinMax(7, 0, 0, 7, 0, 0).fill();
    box.setMinMax(4, 9, 4, 4, 9, 4).fill();
    box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
    box.offsetMinMax(-3, 0, 6, -3, 0, 6).fill();
    box.offsetMinMax(3, 0, 0, 3, 0, 0).fill();
    box.setMinMax(5, 9, 7, 6, 9, 7).fill();
    // Place ALL the stairs!
    setBlockMaterial(5, 9, 6, VanillaMaterials.STAIRS_COBBLESTONE, (short) 2);
    setBlockMaterial(6, 9, 6, VanillaMaterials.STAIRS_COBBLESTONE, (short) 2);
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.