Examples of offsetMinMax()


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

      }
    }
    // Decoration fences on the side of the bridge
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(0, 0, 4, 0, 1, 4).fill();
    box.offsetMinMax(0, 0, 10, 0, 0, 10).fill();
    box.setMinMax(4, 0, 4, 4, 1, 4).fill();
    box.offsetMinMax(0, 0, 10, 0, 0, 10).fill();
    box.setMinMax(0, -2, 1, 0, 1, 1).fill();
    box.offsetMinMax(0, 0, 16, 0, 0, 16).fill();
    box.setMinMax(4, -2, 1, 4, 1, 1).fill();
View Full Code Here

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

    // Decoration fences on the side of the bridge
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    box.setMinMax(0, 0, 4, 0, 1, 4).fill();
    box.offsetMinMax(0, 0, 10, 0, 0, 10).fill();
    box.setMinMax(4, 0, 4, 4, 1, 4).fill();
    box.offsetMinMax(0, 0, 10, 0, 0, 10).fill();
    box.setMinMax(0, -2, 1, 0, 1, 1).fill();
    box.offsetMinMax(0, 0, 16, 0, 0, 16).fill();
    box.setMinMax(4, -2, 1, 4, 1, 1).fill();
    box.offsetMinMax(0, 0, 16, 0, 0, 16).fill();
  }
View Full Code Here

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

    box.setMinMax(0, 0, 4, 0, 1, 4).fill();
    box.offsetMinMax(0, 0, 10, 0, 0, 10).fill();
    box.setMinMax(4, 0, 4, 4, 1, 4).fill();
    box.offsetMinMax(0, 0, 10, 0, 0, 10).fill();
    box.setMinMax(0, -2, 1, 0, 1, 1).fill();
    box.offsetMinMax(0, 0, 16, 0, 0, 16).fill();
    box.setMinMax(4, -2, 1, 4, 1, 1).fill();
    box.offsetMinMax(0, 0, 16, 0, 0, 16).fill();
  }

  @Override
View Full Code Here

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

    box.setMinMax(4, 0, 4, 4, 1, 4).fill();
    box.offsetMinMax(0, 0, 10, 0, 0, 10).fill();
    box.setMinMax(0, -2, 1, 0, 1, 1).fill();
    box.offsetMinMax(0, 0, 16, 0, 0, 16).fill();
    box.setMinMax(4, -2, 1, 4, 1, 1).fill();
    box.offsetMinMax(0, 0, 16, 0, 0, 16).fill();
  }

  @Override
  public void randomize() {
  }
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(-4, 0, 0, 8, 1, 12).fill();
    // Interior space
    picker.setOuterInnerMaterials(VanillaMaterials.AIR, VanillaMaterials.AIR);
    box.offsetMinMax(0, 2, 0, 0, 9, 0).fill();
    // The too walls without entrances
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-4, 2, 0, -3, 9, 12).fill();
    box.offsetMinMax(11, 0, 0, 11, 0, 0).fill();
    box.setMinMax(-2, 2, 11, 0, 9, 12).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, 9, 0).fill();
    // The too walls without entrances
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-4, 2, 0, -3, 9, 12).fill();
    box.offsetMinMax(11, 0, 0, 11, 0, 0).fill();
    box.setMinMax(-2, 2, 11, 0, 9, 12).fill();
    box.offsetMinMax(6, 0, 0, 6, 0, 0).fill();
    // The two other walls
    box.setMinMax(1, 6, 0, 3, 9, 1).fill();
    box.offsetMinMax(0, 0, 11, 0, 0, 11).fill();
View Full Code Here

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

    // The too walls without entrances
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK, VanillaMaterials.NETHER_BRICK);
    box.setMinMax(-4, 2, 0, -3, 9, 12).fill();
    box.offsetMinMax(11, 0, 0, 11, 0, 0).fill();
    box.setMinMax(-2, 2, 11, 0, 9, 12).fill();
    box.offsetMinMax(6, 0, 0, 6, 0, 0).fill();
    // The two other walls
    box.setMinMax(1, 6, 0, 3, 9, 1).fill();
    box.offsetMinMax(0, 0, 11, 0, 0, 11).fill();
    box.setMinMax(-2, 2, 0, 0, 9, 1).fill();
    box.offsetMinMax(6, 0, 0, 6, 0, 0).fill();
View Full Code Here

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

    box.offsetMinMax(11, 0, 0, 11, 0, 0).fill();
    box.setMinMax(-2, 2, 11, 0, 9, 12).fill();
    box.offsetMinMax(6, 0, 0, 6, 0, 0).fill();
    // The two other walls
    box.setMinMax(1, 6, 0, 3, 9, 1).fill();
    box.offsetMinMax(0, 0, 11, 0, 0, 11).fill();
    box.setMinMax(-2, 2, 0, 0, 9, 1).fill();
    box.offsetMinMax(6, 0, 0, 6, 0, 0).fill();
    // Roof
    box.setMinMax(-2, 8, 2, 6, 9, 10).fill();
    // Decorate the outside
View Full Code Here

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

    box.offsetMinMax(6, 0, 0, 6, 0, 0).fill();
    // The two other walls
    box.setMinMax(1, 6, 0, 3, 9, 1).fill();
    box.offsetMinMax(0, 0, 11, 0, 0, 11).fill();
    box.setMinMax(-2, 2, 0, 0, 9, 1).fill();
    box.offsetMinMax(6, 0, 0, 6, 0, 0).fill();
    // Roof
    box.setMinMax(-2, 8, 2, 6, 9, 10).fill();
    // Decorate the outside
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    for (int xxzz = 1; xxzz <= 11; xxzz += 2) {
View Full Code Here

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

    // Decorate the outside
    picker.setOuterInnerMaterials(VanillaMaterials.NETHER_BRICK_FENCE, VanillaMaterials.NETHER_BRICK_FENCE);
    for (int xxzz = 1; xxzz <= 11; xxzz += 2) {
      // Fences on the outside walls
      box.setMinMax(xxzz - 4, 7, 0, xxzz - 4, 8, 0).fill();
      box.offsetMinMax(0, 0, 12, 0, 0, 12).fill();
      box.setMinMax(-4, 7, xxzz, -4, 8, xxzz).fill();
      box.offsetMinMax(12, 0, 0, 12, 0, 0).fill();
      // Fences and brick on the roof
      setBlockMaterial(xxzz - 4, 10, 0, VanillaMaterials.NETHER_BRICK);
      setBlockMaterial(xxzz - 4, 10, 12, 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.