package magicrafttg.world.gen.structure;

import net.minecraft.world.gen.structure.MapGenStructure;
import net.minecraft.world.gen.structure.StructureStart;

public class MapGenWizTower extends MapGenStructure 
{

	@Override
	public String getStructureName() {
		return "Wizard Tower";
	}

	@Override
	protected boolean canSpawnStructureAtCoords(int x, int z) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	protected StructureStart getStructureStart(int x, int z) {
		// TODO Auto-generated method stub
		return null;
	}

}

@@ -35,16 +35,145 @@
 cture;%0A%0A
+import net.minecraft.world.World;%0Aimport net.minecraft.world.chunk.ChunkPrimer;%0Aimport net.minecraft.world.chunk.IChunkProvider;%0A
 import n
@@ -336,16 +336,852 @@
 ure %0A%7B%0A%0A
+%09/**%0A%09 * Sets the random seed and runs func_180701_a for 8 chunks in all directions of the specified chunk.%0A%09 * %3Cp%3E%0A%09 * func_180701_a:%3Cbr%3E%0A%09 * Calls func_143027_a, which loads the structure data for the specific type of structure (e.g. %22Village%22)%0A%09 * and initialises the structureMap of already generated structures.%0A%09 * %3Cp%3E%0A%09 * If there is no structure in the map at the chunk then it attempts to spawn one, calling canSpawnStructureAtCoords.%0A%09 * If that returns true then it calls getStructureStart, puts it in the structureMap, and calls func_143026_a%0A%09 * with the structurestart (which sets an NBTTagCompound in the MapGenStructureData).%0A%09 */%0A%09public void func_175792_a(IChunkProvider provider, World worldIn, int x, int z, ChunkPrimer chunkprimer)%0A    %7B%0A%09%09super.func_175792_a(provider, worldIn, x, z, chunkprimer);%0A    %7D%0A%09%0A%09%0A%09%0A%09%0A%09%0A
 %09@Overri

Work on map generation.