Jump to content

[Question] Generating custom structures [1.6.4]


silverclub

Recommended Posts

I am wondering how I do structure generation if anyone knows what is wrong with my code please tell me

 

 

package TheGamingPony.StealMod.WorldGen;

 

import java.util.Random;

 

import net.minecraft.entity.player.EntityPlayer;

import net.minecraft.world.World;

import net.minecraft.world.chunk.IChunkProvider;

import cpw.mods.fml.client.FMLClientHandler;

import cpw.mods.fml.common.IWorldGenerator;

 

public class WorldGenSteel implements IWorldGenerator

{

@Override

public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider)

{

switch(world.provider.dimensionId)

{

case -1:

generateNether(random, chunkX * 16, chunkZ * 16, world);

break;

case 0:

generateSurface(random, chunkX * 16, chunkZ * 16, world);

break;

case 1:

generateEnd(random, chunkX * 16, chunkZ * 16, world);

break;

}

}

 

private void generateEnd(Random random, int chunkX, int chunkZ, World world)

{

 

}

 

private void generateSurface(Random random, int chunkX, int chunkZ, World world)

{

for(int k = 0; k < 80; k++)

{

int xCoord = chunkX + random.nextInt(16);

int yCoord = random.nextInt(100);

int zCoord = chunkZ + random.nextInt(16);

(new WorldGenSteelHouse()).generate(world, random, xCoord, yCoord, zCoord);

}

}

 

private void generateNether(Random random, int chunkX, int chunkZ, World world){ }

}

 

 

 

 

package TheGamingPony.StealMod.WorldGen;

import java.util.Random;

 

import net.minecraft.block.Block;

import net.minecraft.world.World;

import net.minecraft.world.gen.feature.WorldGenerator;

 

public class WorldGenSteelHouse extends WorldGenerator

{

protected int[] GetValidSpawnBlocks() {

return new int[] {

};

}

 

public boolean LocationIsValidSpawn(World world, int i, int j, int k){

int distanceToAir = 0;

int checkID = world.getBlockId(i, j, k);

 

while (checkID != 0){

distanceToAir++;

checkID = world.getBlockId(i, j + distanceToAir, k);

}

 

if (distanceToAir > 3){

return false;

}

j += distanceToAir - 1;

 

int blockID = world.getBlockId(i, j, k);

int blockIDAbove = world.getBlockId(i, j+1, k);

int blockIDBelow = world.getBlockId(i, j-1, k);

for (int x : GetValidSpawnBlocks()){

if (blockIDAbove != 0){

return false;

}

if (blockID == x){

return true;

}else if (blockID == Block.snow.blockID && blockIDBelow == x){

return true;

}

}

return false;

}

 

public WorldGenSteelHouse() { }

 

public boolean generate(World world, Random rand, int i, int j, int k) {

//check that each corner is one of the valid spawn blocks

if(!LocationIsValidSpawn(world, i, j, k) || !LocationIsValidSpawn(world, i + 9, j, k) || !LocationIsValidSpawn(world, i + 9, j, k + 8) || !LocationIsValidSpawn(world, i, j, k + 8))

{

return false;

}

 

world.setBlock(i + 0, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 0, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 0, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 0, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 0, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 0, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 0, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 0, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 0, j + 0, k + 8, Block.stone.blockID);

world.setBlock(i + 1, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 1, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 1, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 1, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 1, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 1, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 1, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 1, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 1, j + 0, k + 8, Block.stone.blockID);

world.setBlock(i + 1, j + 1, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 1, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 1, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 1, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 1, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 1, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 1, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 2, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 2, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 2, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 2, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 2, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 2, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 2, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 3, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 3, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 3, k + 3, Block.glass.blockID);

world.setBlock(i + 1, j + 3, k + 4, Block.glass.blockID);

world.setBlock(i + 1, j + 3, k + 5, Block.glass.blockID);

world.setBlock(i + 1, j + 3, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 3, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 4, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 4, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 4, k + 3, Block.glass.blockID);

world.setBlock(i + 1, j + 4, k + 4, Block.glass.blockID);

world.setBlock(i + 1, j + 4, k + 5, Block.glass.blockID);

world.setBlock(i + 1, j + 4, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 4, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 5, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 5, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 5, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 5, k + 4, Block.glass.blockID);

world.setBlock(i + 1, j + 5, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 5, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 5, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 6, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 6, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 6, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 6, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 6, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 6, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 6, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 7, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 7, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 7, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 7, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 7, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 7, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 7, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 8, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 8, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 8, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 8, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 8, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 9, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 9, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 9, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 1, j + 10, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 2, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 2, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 2, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 2, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 2, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 2, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 2, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 2, j + 0, k + 8, Block.stone.blockID);

world.setBlock(i + 2, j + 1, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 1, k + 2, -35);

world.setBlock(i + 2, j + 1, k + 3, -35);

world.setBlock(i + 2, j + 1, k + 4, -35);

world.setBlock(i + 2, j + 1, k + 5, -35);

world.setBlock(i + 2, j + 1, k + 6, -35);

world.setBlock(i + 2, j + 1, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 2, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 2, k + 5, -36);

world.setBlock(i + 2, j + 2, k + 6, -36);

world.setBlock(i + 2, j + 2, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 3, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 3, k + 6, -36);

world.setBlock(i + 2, j + 3, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 4, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 4, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 5, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 5, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 6, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 6, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 6, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 6, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 6, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 6, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 6, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 7, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 7, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 8, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 8, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 9, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 9, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 2, j + 10, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 3, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 3, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 3, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 3, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 3, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 3, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 3, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 3, j + 0, k + 8, Block.stone.blockID);

world.setBlock(i + 3, j + 1, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 1, k + 2, -35);

world.setBlock(i + 3, j + 1, k + 3, -36);

world.setBlock(i + 3, j + 1, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 1, k + 5, -36);

world.setBlock(i + 3, j + 1, k + 6, -35);

world.setBlock(i + 3, j + 1, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 2, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 2, k + 6, -36);

world.setBlock(i + 3, j + 2, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 3, k + 1, Block.wood.blockID);

world.setBlock(i + 3, j + 3, k + 7, Block.wood.blockID);

world.setBlock(i + 3, j + 4, k + 1, Block.wood.blockID);

world.setBlock(i + 3, j + 4, k + 7, Block.wood.blockID);

world.setBlock(i + 3, j + 5, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 5, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 6, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 6, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 6, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 6, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 6, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 6, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 6, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 7, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 7, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 8, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 8, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 9, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 9, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 3, j + 10, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 4, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 4, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 4, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 4, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 4, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 4, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 4, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 4, j + 0, k + 8, Block.stone.blockID);

world.setBlock(i + 4, j + 1, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 1, k + 2, -35);

world.setBlock(i + 4, j + 1, k + 3, -36);

world.setBlock(i + 4, j + 1, k + 4, -36);

world.setBlock(i + 4, j + 1, k + 5, -36);

world.setBlock(i + 4, j + 1, k + 6, -35);

world.setBlock(i + 4, j + 1, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 2, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 2, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 3, k + 1, Block.glass.blockID);

world.setBlock(i + 4, j + 3, k + 7, Block.glass.blockID);

world.setBlock(i + 4, j + 4, k + 1, Block.glass.blockID);

world.setBlock(i + 4, j + 4, k + 7, Block.glass.blockID);

world.setBlock(i + 4, j + 5, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 5, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 6, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 6, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 6, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 6, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 6, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 6, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 6, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 7, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 7, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 8, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 8, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 9, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 9, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 4, j + 10, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 5, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 5, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 5, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 5, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 5, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 5, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 5, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 5, j + 0, k + 8, Block.stone.blockID);

world.setBlock(i + 5, j + 1, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 1, k + 2, -35);

world.setBlock(i + 5, j + 1, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 1, k + 4, -36);

world.setBlock(i + 5, j + 1, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 1, k + 6, -35);

world.setBlock(i + 5, j + 1, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 2, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 2, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 3, k + 1, Block.glass.blockID);

world.setBlock(i + 5, j + 3, k + 7, Block.glass.blockID);

world.setBlock(i + 5, j + 4, k + 1, Block.glass.blockID);

world.setBlock(i + 5, j + 4, k + 7, Block.glass.blockID);

world.setBlock(i + 5, j + 5, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 5, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 6, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 6, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 6, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 6, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 6, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 6, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 6, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 7, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 7, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 8, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 8, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 9, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 9, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 5, j + 10, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 6, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 6, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 6, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 6, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 6, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 6, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 6, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 6, j + 0, k + 8, Block.stone.blockID);

world.setBlock(i + 6, j + 1, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 1, k + 2, -35);

world.setBlock(i + 6, j + 1, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 1, k + 4, -36);

world.setBlock(i + 6, j + 1, k + 5, -36);

world.setBlock(i + 6, j + 1, k + 6, -35);

world.setBlock(i + 6, j + 1, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 2, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 2, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 3, k + 1, Block.wood.blockID);

world.setBlock(i + 6, j + 3, k + 7, Block.wood.blockID);

world.setBlock(i + 6, j + 4, k + 1, Block.wood.blockID);

world.setBlock(i + 6, j + 4, k + 7, Block.wood.blockID);

world.setBlock(i + 6, j + 5, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 5, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 6, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 6, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 6, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 6, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 6, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 6, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 6, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 7, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 7, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 8, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 8, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 9, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 9, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 6, j + 10, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 7, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 7, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 7, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 7, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 7, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 7, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 7, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 7, j + 0, k + 8, Block.stone.blockID);

world.setBlock(i + 7, j + 1, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 1, k + 2, -35);

world.setBlock(i + 7, j + 1, k + 3, -35);

world.setBlock(i + 7, j + 1, k + 4, -35);

world.setBlock(i + 7, j + 1, k + 5, -35);

world.setBlock(i + 7, j + 1, k + 6, -35);

world.setBlock(i + 7, j + 1, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 2, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 2, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 3, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 3, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 4, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 4, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 5, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 5, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 6, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 6, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 6, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 6, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 6, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 6, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 6, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 7, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 7, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 8, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 8, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 9, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 9, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 7, j + 10, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 8, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 8, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 8, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 8, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 8, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 8, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 8, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 8, j + 0, k + 8, Block.stone.blockID);

world.setBlock(i + 8, j + 1, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 1, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 1, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 1, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 1, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 1, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 1, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 2, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 2, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 2, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 2, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 2, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 2, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 3, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 3, k + 2, Block.glass.blockID);

world.setBlock(i + 8, j + 3, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 3, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 3, k + 6, Block.glass.blockID);

world.setBlock(i + 8, j + 3, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 4, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 4, k + 2, Block.glass.blockID);

world.setBlock(i + 8, j + 4, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 4, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 4, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 4, k + 6, Block.glass.blockID);

world.setBlock(i + 8, j + 4, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 5, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 5, k + 2, Block.glass.blockID);

world.setBlock(i + 8, j + 5, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 5, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 5, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 5, k + 6, Block.glass.blockID);

world.setBlock(i + 8, j + 5, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 6, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 6, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 6, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 6, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 6, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 6, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 6, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 7, k + 1, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 7, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 7, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 7, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 7, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 7, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 7, k + 7, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 8, k + 2, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 8, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 8, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 8, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 8, k + 6, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 9, k + 3, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 9, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 9, k + 5, Block.stoneBrick.blockID);

world.setBlock(i + 8, j + 10, k + 4, Block.stoneBrick.blockID);

world.setBlock(i + 9, j + 0, k + 0, Block.stone.blockID);

world.setBlock(i + 9, j + 0, k + 1, Block.stone.blockID);

world.setBlock(i + 9, j + 0, k + 2, Block.stone.blockID);

world.setBlock(i + 9, j + 0, k + 3, Block.stone.blockID);

world.setBlock(i + 9, j + 0, k + 4, Block.stone.blockID);

world.setBlock(i + 9, j + 0, k + 5, Block.stone.blockID);

world.setBlock(i + 9, j + 0, k + 6, Block.stone.blockID);

world.setBlock(i + 9, j + 0, k + 7, Block.stone.blockID);

world.setBlock(i + 9, j + 0, k + 8, Block.stone.blockID);

world.setBlockMetadataWithNotify(i + 9, j + 1, k + 3, Block.stairsStoneBrick.blockID, 2);

world.setBlockMetadataWithNotify(i + 9, j + 1, k + 4, Block.stairsStoneBrick.blockID, 1);

world.setBlockMetadataWithNotify(i + 9, j + 1, k + 5, Block.stairsStoneBrick.blockID, 3);

world.setBlockMetadataWithNotify(i + 8, j + 2, k + 4, Block.doorWood.blockID, 2);

world.setBlockMetadataWithNotify(i + 8, j + 3, k + 4, Block.doorWood.blockID, 8);

 

return true;

}

 

public boolean generate1(World world, Random random, int i, int j, int k) {

return false;

}

}

 

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.