Examples of offsetMinMax()


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

      }
      // Precise outline for the section
      picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
      box.setMinMax(0, eyy, zz, 4, eyy, zz).fill();
      box.setMinMax(0, syy + 1, zz, 0, eyy - 1, zz).fill();
      box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
      // Windows on the right and left with odd spacing
      if (zz % 2 != 0) {
        picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
        box.setMinMax(0, syy + 2, zz, 0, syy + 3, zz).fill();
        box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
View Full Code Here

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

      box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
      // Windows on the right and left with odd spacing
      if (zz % 2 != 0) {
        picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
        box.setMinMax(0, syy + 2, zz, 0, syy + 3, zz).fill();
        box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
      }
      // Fill down to the ground
      for (int xx = 0; xx <= 4; xx++) {
        fillDownwards(xx, -8, zz, 50, VanillaMaterials.NETHER_BRICK);
      }
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(0, 0, 0, 4, 1, 4).fill();
    // Interior space
    picker.setOuterInnerMaterials(VanillaMaterials.AIR, VanillaMaterials.AIR);
    box.offsetMinMax(0, 2, 0, 0, 4, 0).fill();
    // Right and left walls
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.offsetMinMax(0, 0, 0, -4, 0, 0).fill();
    box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
    // Windows for both walls
View Full Code Here

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

    // Interior space
    picker.setOuterInnerMaterials(VanillaMaterials.AIR, VanillaMaterials.AIR);
    box.offsetMinMax(0, 2, 0, 0, 4, 0).fill();
    // Right and left walls
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.offsetMinMax(0, 0, 0, -4, 0, 0).fill();
    box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
    // Windows for both walls
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(0, 3, 1, 0, 4, 1).fill();
    box.offsetMinMax(0, 0, 2, 0, 0, 2).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, 4, 0).fill();
    // Right and left walls
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.offsetMinMax(0, 0, 0, -4, 0, 0).fill();
    box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
    // Windows for both walls
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(0, 3, 1, 0, 4, 1).fill();
    box.offsetMinMax(0, 0, 2, 0, 0, 2).fill();
    box.setMinMax(4, 3, 1, 4, 4, 1).fill();
View Full Code Here

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

    box.offsetMinMax(0, 0, 0, -4, 0, 0).fill();
    box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
    // Windows for both walls
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(0, 3, 1, 0, 4, 1).fill();
    box.offsetMinMax(0, 0, 2, 0, 0, 2).fill();
    box.setMinMax(4, 3, 1, 4, 4, 1).fill();
    box.offsetMinMax(0, 0, 2, 0, 0, 2).fill();
    // Roof
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(0, 6, 0, 4, 6, 4).fill();
View Full Code Here

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

    // Windows for both walls
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(0, 3, 1, 0, 4, 1).fill();
    box.offsetMinMax(0, 0, 2, 0, 0, 2).fill();
    box.setMinMax(4, 3, 1, 4, 4, 1).fill();
    box.offsetMinMax(0, 0, 2, 0, 0, 2).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()

    picker.setOuterInnerMaterials(VanillaMaterials.AIR, VanillaMaterials.AIR);
    box.setMinMax(1, 2, 0, 3, 4, 18).fill();
    // Side walls
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(0, 2, 0, 0, 2, 18).fill();
    box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
    // Add material under the bridge to make an arch
    box.setMinMax(0, -1, 0, 4, -1, 5).fill();
    box.offsetMinMax(0, 0, 13, 0, 0, 13).fill();
    box.setMinMax(0, -3, 0, 4, -2, 3).fill();
    box.offsetMinMax(0, 0, 15, 0, 0, 15).fill();
View Full Code Here

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

    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(0, 2, 0, 0, 2, 18).fill();
    box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
    // Add material under the bridge to make an arch
    box.setMinMax(0, -1, 0, 4, -1, 5).fill();
    box.offsetMinMax(0, 0, 13, 0, 0, 13).fill();
    box.setMinMax(0, -3, 0, 4, -2, 3).fill();
    box.offsetMinMax(0, 0, 15, 0, 0, 15).fill();
    // Build the pillars on the both ends downwards
    for (int xx = 0; xx <= 4; xx++) {
      for (int zz = 0; zz <= 2; zz++) {
View Full Code Here

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

    box.offsetMinMax(4, 0, 0, 4, 0, 0).fill();
    // Add material under the bridge to make an arch
    box.setMinMax(0, -1, 0, 4, -1, 5).fill();
    box.offsetMinMax(0, 0, 13, 0, 0, 13).fill();
    box.setMinMax(0, -3, 0, 4, -2, 3).fill();
    box.offsetMinMax(0, 0, 15, 0, 0, 15).fill();
    // Build the pillars on the both ends downwards
    for (int xx = 0; xx <= 4; xx++) {
      for (int zz = 0; zz <= 2; zz++) {
        fillDownwards(xx, -4, zz, 50, VanillaMaterials.NETHER_BRICK);
        fillDownwards(xx, -4, 18 - zz, 50, VanillaMaterials.NETHER_BRICK);
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.