Package me.daddychurchill.CityWorld.Support

Examples of me.daddychurchill.CityWorld.Support.SurroundingLots.toSouth()


      if (farms.toWest())
        chunk.setBlock(0, generator.streetLevel, 0, dividerMaterial);
      if (farms.toEast())
        chunk.setBlock(15, generator.streetLevel, 0, dividerMaterial);
    }
    if (!farms.toSouth()) {
      chunk.setBlocks(1, 15, generator.streetLevel, 15, 16, dividerMaterial);
      if (farms.toWest())
        chunk.setBlock(0, generator.streetLevel, 15, dividerMaterial);
      if (farms.toEast())
        chunk.setBlock(15, generator.streetLevel, 15, dividerMaterial);
View Full Code Here


    }
    if (!farms.toWest()) {
      chunk.setBlocks(0, 1, generator.streetLevel, 1, 15, dividerMaterial);
      if (farms.toNorth())
        chunk.setBlock(0, generator.streetLevel, 0, dividerMaterial);
      if (farms.toSouth())
        chunk.setBlock(0, generator.streetLevel, 15, dividerMaterial);
    }
    if (!farms.toEast()) {
      chunk.setBlocks(15, 16, generator.streetLevel, 1, 15, dividerMaterial);
      if (farms.toNorth())
View Full Code Here

    }
    if (!farms.toEast()) {
      chunk.setBlocks(15, 16, generator.streetLevel, 1, 15, dividerMaterial);
      if (farms.toNorth())
        chunk.setBlock(15, generator.streetLevel, 0, dividerMaterial);
      if (farms.toSouth())
        chunk.setBlock(15, generator.streetLevel, 15, dividerMaterial);
    }
  }
 
  protected void generateActualBlocks(WorldGenerator generator, PlatMap platmap, RealChunk chunk, DataContext context, int platX, int platZ) {
View Full Code Here

      if (neighbors.toNorth()) {
        chunk.setBlocks(3, 5, lowestY, highestY, 0, 1, cisternMaterial);
        chunk.setBlocks(11, 13, lowestY, highestY, 0, 1, cisternMaterial);
      } else
        chunk.setBlocks(0, 16, lowestY, highestY + 1, 0, 1, cisternMaterial);
      if (neighbors.toSouth()) {
        chunk.setBlocks(3, 5, lowestY, highestY, 15, 16, cisternMaterial);
        chunk.setBlocks(11, 13, lowestY, highestY, 15, 16, cisternMaterial);
      } else
        chunk.setBlocks(0, 16, lowestY, highestY + 1, 15, 16, cisternMaterial);
      if (neighbors.toWest()) {
View Full Code Here

      chunk.setBlocks(7, 9, surfaceY, surfaceY + 1, 0, 1, stepMaterial);
      chunk.setBlocks(9, surfaceY, surfaceY + 2, 0, columnMaterial);
      chunk.setBlock(6, surfaceY, 1, columnMaterial);
      chunk.setBlock(9, surfaceY, 1, columnMaterial);
    }
    if (!neighbors.toSouth() && HeightInfo.isBuildableToSouth(generator, chunk)) {
      chunk.setBlocks(0, 6, surfaceY, surfaceY + 1, 15, 16, columnMaterial);
      chunk.setBlocks(0, 6, surfaceY + 1, surfaceY + 2, 15, 16, fenceMaterial);
      chunk.setBlocks(10, 16, surfaceY, surfaceY + 1, 15, 16, columnMaterial);
      chunk.setBlocks(10, 16, surfaceY + 1, surfaceY + 2, 15, 16, fenceMaterial);
      chunk.setBlocks(6, surfaceY, surfaceY + 2, 15, columnMaterial);
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.