//Schematic to java Structure by jajo_11 | inspired by "MITHION'S .SCHEMATIC TO JAVA CONVERTINGTOOL"

package com.hbm.world.dungeon;

import java.util.Random;

import com.hbm.blocks.ModBlocks;
import com.hbm.blocks.generic.BlockBobble.BobbleType;
import com.hbm.blocks.generic.BlockBobble.TileEntityBobble;
import com.hbm.config.GeneralConfig;
import com.hbm.itempool.ItemPool;
import com.hbm.itempool.ItemPoolsLegacy;
import com.hbm.items.ModItems;
import com.hbm.lib.Library;
import com.hbm.tileentity.machine.storage.TileEntityCrateIron;
import com.hbm.util.LootGenerator;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemDoor;
import net.minecraft.item.ItemStack;
import net.minecraft.util.WeightedRandomChestContent;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;

public class Relay extends WorldGenerator
{
	Block Block1 = ModBlocks.reinforced_brick;
	Block Block2 = ModBlocks.deco_steel;
	Block Block4 = ModBlocks.steel_scaffold;
	Block Block5 = ModBlocks.reinforced_glass;
	Block Block6 = ModBlocks.deco_beryllium;
	Block Block7 = ModBlocks.deco_red_copper;
	Block Block8 = ModBlocks.deco_tungsten;
	Block Block9 = ModBlocks.pole_top;
	
	int s2 = 0;
	int s3 = 0;
	int s4 = 8;
	int s5 = 8;
	
	protected Block[] GetValidSpawnBlocks()
	{
		return new Block[]
		{
			Blocks.stone,
			Blocks.grass,
			Blocks.dirt,
			Blocks.sand,
			Blocks.sandstone,
		};
	}

	public boolean LocationIsValidSpawn(World world, int x, int y, int z)
 {

		Block checkBlock = world.getBlock(x, y - 1, z);
		Block blockAbove = world.getBlock(x, y , z);
		Block blockBelow = world.getBlock(x, y - 2, z);

		for (Block i : GetValidSpawnBlocks())
		{
			if (blockAbove != Blocks.air)
			{
				return false;
			}
			if (checkBlock == i)
			{
				return true;
			}
			else if (checkBlock == Blocks.snow_layer && blockBelow == i)
			{
				return true;
			}
			else if (checkBlock.getMaterial() == Material.plants && blockBelow == i)
			{
				return true;
			}
		}
		return false;
	}

	@Override
	public boolean generate(World world, Random rand, int x, int y, int z)
	{
		int i = rand.nextInt(1);

		if(i == 0)
		{
		    generate_r0(world, rand, x, y, z);
		}

       return true;

	}

	public boolean generate_r0(World world, Random rand, int x, int y, int z)
	{
		if(!LocationIsValidSpawn(world, x + 5, y, z + 8))
		{
			return false;
		}

		world.setBlock(x + 2, y + -3, z + 0, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 0, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 0, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 0, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 0, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 0, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 0, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 0, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 0, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 1, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 1, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 1, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 1, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 1, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 1, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 1, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 1, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 1, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 2, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 2, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 2, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 2, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 2, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 2, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 2, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 2, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 2, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 3, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 3, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 3, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 3, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 3, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 3, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 3, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 3, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 3, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 4, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 4, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 4, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 4, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 4, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 4, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 4, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 4, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 4, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 5, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 5, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 5, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 5, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 5, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 5, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 5, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 5, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 5, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 6, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 6, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 6, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 6, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 6, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 6, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 6, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 6, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 6, Block1, 0, 3);
		world.setBlock(x + 0, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 1, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 7, Block1, 0, 3);
		world.setBlock(x + 0, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 1, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 8, Block1, 0, 3);
		world.setBlock(x + 0, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 1, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 9, Block1, 0, 3);
		world.setBlock(x + 0, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 1, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 10, Block1, 0, 3);
		world.setBlock(x + 0, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 1, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 11, Block1, 0, 3);
		world.setBlock(x + 0, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 1, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 12, Block1, 0, 3);
		world.setBlock(x + 0, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 1, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 13, Block1, 0, 3);
		world.setBlock(x + 0, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 1, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 14, Block1, 0, 3);
		world.setBlock(x + 0, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 1, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 2, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 3, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 4, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 5, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 6, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 7, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 8, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 9, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 10, y + -3, z + 15, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 0, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 0, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 0, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 0, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 0, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 0, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 0, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 0, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 0, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 1, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 1, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 1, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 1, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 1, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 1, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 1, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 1, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 1, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 2, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 2, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 2, Block2, 0, 3);
		world.setBlock(x + 5, y + -2, z + 2, Block2, 0, 3);
		world.setBlock(x + 6, y + -2, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + -2, z + 2, Block2, 0, 3);
		world.setBlock(x + 8, y + -2, z + 2, Block2, 0, 3);
		world.setBlock(x + 9, y + -2, z + 2, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 2, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 3, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 3, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 3, Block2, 0, 3);
		world.setBlock(x + 5, y + -2, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + -2, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + -2, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + -2, z + 3, Block2, 0, 3);
		world.setBlock(x + 9, y + -2, z + 3, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 3, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 4, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 4, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + -2, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + -2, z + 4, Block2, 0, 3);
		world.setBlock(x + 7, y + -2, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + -2, z + 4, Block2, 0, 3);
		world.setBlock(x + 9, y + -2, z + 4, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 4, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 5, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 5, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 5, Block2, 0, 3);
		world.setBlock(x + 5, y + -2, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + -2, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + -2, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + -2, z + 5, Block2, 0, 3);
		world.setBlock(x + 9, y + -2, z + 5, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 5, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 6, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 6, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 6, Block2, 0, 3);
		world.setBlock(x + 5, y + -2, z + 6, Block2, 0, 3);
		world.setBlock(x + 6, y + -2, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + -2, z + 6, Block2, 0, 3);
		world.setBlock(x + 8, y + -2, z + 6, Block2, 0, 3);
		world.setBlock(x + 9, y + -2, z + 6, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 6, Block1, 0, 3);
		world.setBlock(x + 0, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 1, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 7, Block1, 0, 3);
		world.setBlock(x + 0, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 1, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 8, Block1, 0, 3);
		world.setBlock(x + 0, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 1, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 9, Block1, 0, 3);
		world.setBlock(x + 0, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 1, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 10, Block1, 0, 3);
		world.setBlock(x + 0, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 1, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 11, Block1, 0, 3);
		world.setBlock(x + 0, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 1, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 12, Block1, 0, 3);
		world.setBlock(x + 0, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 1, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 13, Block1, 0, 3);
		world.setBlock(x + 0, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 1, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 14, Block1, 0, 3);
		world.setBlock(x + 0, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 1, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 2, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 3, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 4, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 5, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 6, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 7, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 8, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 9, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 10, y + -2, z + 15, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 3, y + -1, z + 0, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 0, Block1, 0, 3);
		world.setBlock(x + 5, y + -1, z + 0, Block1, 0, 3);
		world.setBlock(x + 6, y + -1, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 7, y + -1, z + 0, Block1, 0, 3);
		world.setBlock(x + 8, y + -1, z + 0, Block1, 0, 3);
		world.setBlock(x + 9, y + -1, z + 0, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 2, y + -1, z + 1, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 1, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 1, Block1, 0, 3);
		world.setBlock(x + 5, y + -1, z + 1, Block1, 0, 3);
		world.setBlock(x + 6, y + -1, z + 1, Block1, 0, 3);
		world.setBlock(x + 7, y + -1, z + 1, Block1, 0, 3);
		world.setBlock(x + 8, y + -1, z + 1, Block1, 0, 3);
		world.setBlock(x + 9, y + -1, z + 1, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 1, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 2, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 2, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 2, Block2, 0, 3);
		world.setBlock(x + 5, y + -1, z + 2, Block2, 0, 3);
		world.setBlock(x + 6, y + -1, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + -1, z + 2, Block2, 0, 3);
		world.setBlock(x + 8, y + -1, z + 2, Block2, 0, 3);
		world.setBlock(x + 9, y + -1, z + 2, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 2, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 3, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 3, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 3, Block2, 0, 3);
		world.setBlock(x + 5, y + -1, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + -1, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + -1, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + -1, z + 3, Block2, 0, 3);
		world.setBlock(x + 9, y + -1, z + 3, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 3, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 4, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 4, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + -1, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + -1, z + 4, Block2, 0, 3);
		world.setBlock(x + 7, y + -1, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + -1, z + 4, Block2, 0, 3);
		world.setBlock(x + 9, y + -1, z + 4, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 4, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 5, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 5, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 5, Block2, 0, 3);
		world.setBlock(x + 5, y + -1, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + -1, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + -1, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + -1, z + 5, Block2, 0, 3);
		world.setBlock(x + 9, y + -1, z + 5, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 5, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 6, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 6, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 6, Block2, 0, 3);
		world.setBlock(x + 5, y + -1, z + 6, Block2, 0, 3);
		world.setBlock(x + 6, y + -1, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + -1, z + 6, Block2, 0, 3);
		world.setBlock(x + 8, y + -1, z + 6, Block2, 0, 3);
		world.setBlock(x + 9, y + -1, z + 6, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 6, Block1, 0, 3);
		world.setBlock(x + 0, y + -1, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + -1, z + 7, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 3, y + -1, z + 7, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 7, Block1, 0, 3);
		world.setBlock(x + 5, y + -1, z + 7, Block1, 0, 3);
		world.setBlock(x + 6, y + -1, z + 7, Block1, 0, 3);
		world.setBlock(x + 7, y + -1, z + 7, Block1, 0, 3);
		world.setBlock(x + 8, y + -1, z + 7, Block1, 0, 3);
		world.setBlock(x + 9, y + -1, z + 7, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 0, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 1, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 5, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 6, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 7, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 8, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 9, y + -1, z + 8, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 8, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 0, y + -1, z + 9, Block1, 0, 3);
		world.setBlock(x + 1, y + -1, z + 9, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 9, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 9, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 9, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 5, y + -1, z + 9, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 6, y + -1, z + 9, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 7, y + -1, z + 9, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 8, y + -1, z + 9, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 9, y + -1, z + 9, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 9, Block1, 0, 3);
		world.setBlock(x + 0, y + -1, z + 10, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + -1, z + 10, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 10, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 10, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 10, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 5, y + -1, z + 10, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 6, y + -1, z + 10, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 7, y + -1, z + 10, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 8, y + -1, z + 10, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 9, y + -1, z + 10, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 10, Block1, 0, 3);
		world.setBlock(x + 0, y + -1, z + 11, Block1, 0, 3);
		world.setBlock(x + 1, y + -1, z + 11, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 11, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 11, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 11, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 5, y + -1, z + 11, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 6, y + -1, z + 11, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 7, y + -1, z + 11, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 8, y + -1, z + 11, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 9, y + -1, z + 11, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 11, Block1, 0, 3);
		world.setBlock(x + 0, y + -1, z + 12, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + -1, z + 12, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 12, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 12, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 12, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 5, y + -1, z + 12, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 6, y + -1, z + 12, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 7, y + -1, z + 12, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 8, y + -1, z + 12, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 9, y + -1, z + 12, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 12, Block1, 0, 3);
		world.setBlock(x + 0, y + -1, z + 13, Block1, 0, 3);
		world.setBlock(x + 1, y + -1, z + 13, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 13, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 13, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 13, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 5, y + -1, z + 13, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 6, y + -1, z + 13, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 7, y + -1, z + 13, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 8, y + -1, z + 13, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 9, y + -1, z + 13, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 13, Block1, 0, 3);
		world.setBlock(x + 0, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 1, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 5, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 6, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 7, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 8, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 9, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 14, Block1, 0, 3);
		world.setBlock(x + 0, y + -1, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + -1, z + 15, Block1, 0, 3);
		world.setBlock(x + 2, y + -1, z + 15, Block1, 0, 3);
		world.setBlock(x + 3, y + -1, z + 15, Block1, 0, 3);
		world.setBlock(x + 4, y + -1, z + 15, Block1, 0, 3);
		world.setBlock(x + 5, y + -1, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 6, y + -1, z + 15, Block1, 0, 3);
		world.setBlock(x + 7, y + -1, z + 15, Block1, 0, 3);
		world.setBlock(x + 8, y + -1, z + 15, Block1, 0, 3);
		world.setBlock(x + 9, y + -1, z + 15, Block1, 0, 3);
		world.setBlock(x + 10, y + -1, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 2, y + 0, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 3, y + 0, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 0, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 6, y + 0, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 7, y + 0, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 8, y + 0, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 9, y + 0, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 0, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 2, y + 0, z + 1, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 0, z + 1, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 0, z + 2, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 0, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 0, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 0, z + 2, Block4, s3, 3);
		world.setBlock(x + 10, y + 0, z + 2, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 0, z + 3, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 0, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 0, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 0, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 0, z + 3, Block4, s4, 3);
		world.setBlock(x + 10, y + 0, z + 3, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 0, z + 4, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 0, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 0, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 0, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 0, z + 4, Block2, 0, 3);
		world.setBlock(x + 10, y + 0, z + 4, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 0, z + 5, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 0, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 0, z + 5, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 0, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 0, z + 5, Block4, s4, 3);
		world.setBlock(x + 10, y + 0, z + 5, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 0, z + 6, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 0, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 0, z + 6, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 0, z + 6, Block4, s2, 3);
		world.setBlock(x + 10, y + 0, z + 6, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 0, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + 0, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 0, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 3, y + 0, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 7, Block2, 0, 3);
		world.setBlock(x + 5, y + 0, z + 7, Block2, 0, 3);
		world.setBlock(x + 6, y + 0, z + 7, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 0, z + 7, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 8, y + 0, z + 7, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 10, y + 0, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 0, y + 0, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 3, y + 0, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 8, Block2, 0, 3);
		world.setBlock(x + 5, y + 0, z + 8, Block2, 0, 3);
		world.setBlock(x + 6, y + 0, z + 8, Block2, 0, 3);
		world.setBlock(x + 7, y + 0, z + 8, Block2, 0, 3);
		world.setBlock(x + 8, y + 0, z + 8, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 10, y + 0, z + 8, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 0, y + 0, z + 9, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 5, y + 0, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 0, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 0, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 0, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 0, z + 9, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 0, z + 10, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 4, y + 0, z + 10, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 0, z + 10, ModBlocks.crate_iron, 0, 3);
		world.setBlockMetadataWithNotify(x + 6, y + 0, z + 10, 3, 3);
		WeightedRandomChestContent.generateChestContents(rand, ItemPool.getPool(ItemPoolsLegacy.POOL_GENERIC), (TileEntityCrateIron)world.getTileEntity(x + 6, y + 0, z + 10), 8);
		
		if(world.rand.nextInt(5) == 0) {
			((TileEntityCrateIron)world.getTileEntity(x + 6, y + 0, z + 10)).setInventorySlotContents(11, new ItemStack(ModItems.morning_glory));
		}
		
		if(world.rand.nextInt(10) > 0) {
			LootGenerator.setBlock(world, x + 6, y + 1, z + 10);
			LootGenerator.lootCapNuke(world, x + 6, y + 1, z + 10);
		} else {
			world.setBlock(x + 6, y + 1, z + 10, ModBlocks.bobblehead, 2, 3);
			TileEntityBobble bobble = (TileEntityBobble) world.getTileEntity(x + 6, y + 1, z + 10);
			
			if(bobble != null) {
				bobble.type = BobbleType.values()[world.rand.nextInt(BobbleType.values().length - 1) + 1];
				bobble.markDirty();
			}
		}
		
		world.setBlock(x + 7, y + 0, z + 10, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 0, z + 10, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 0, z + 10, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 11, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 0, z + 11, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 0, z + 11, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 0, z + 11, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 0, z + 12, Library.getRandomConcrete(), 0, 3);
		//world.setBlock(x + 4, y + 0, z + 12, Blocks.iron_door, 0, 3);
		ItemDoor.placeDoorBlock(world, x + 4, y + 0, z + 12, 0, Blocks.iron_door);
		world.setBlock(x + 7, y + 0, z + 12, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 0, z + 12, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 0, z + 12, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 0, z + 13, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 5, y + 0, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 0, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 0, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 0, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 0, z + 13, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 0, z + 14, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 0, z + 14, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 0, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + 0, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 0, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 3, y + 0, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 0, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 0, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 6, y + 0, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 7, y + 0, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 8, y + 0, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 9, y + 0, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 0, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 2, y + 1, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 3, y + 1, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 1, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 1, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 6, y + 1, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 7, y + 1, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 8, y + 1, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 9, y + 1, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 1, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 2, y + 1, z + 1, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 1, z + 1, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 1, z + 2, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 1, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 1, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 1, z + 2, Block4, s3, 3);
		world.setBlock(x + 10, y + 1, z + 2, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 1, z + 3, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 1, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 1, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 1, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 1, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 1, z + 3, Block4, s4, 3);
		world.setBlock(x + 10, y + 1, z + 3, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 1, z + 4, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 1, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 1, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 1, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 1, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 1, z + 4, Block2, 0, 3);
		world.setBlock(x + 10, y + 1, z + 4, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 1, z + 5, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 1, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 1, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 1, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 1, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 1, z + 5, Block4, s4, 3);
		world.setBlock(x + 10, y + 1, z + 5, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 1, z + 6, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 1, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 1, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 1, z + 6, Block4, s2, 3);
		world.setBlock(x + 10, y + 1, z + 6, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 1, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + 1, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 1, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 3, y + 1, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 1, z + 7, Block2, 0, 3);
		world.setBlock(x + 6, y + 1, z + 7, Block2, 0, 3);
		world.setBlock(x + 7, y + 1, z + 7, Block2, 0, 3);
		world.setBlock(x + 8, y + 1, z + 7, Block2, 0, 3);
		world.setBlock(x + 10, y + 1, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 0, y + 1, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 3, y + 1, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 1, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 1, z + 8, Block2, 0, 3);
		world.setBlock(x + 6, y + 1, z + 8, Block2, 0, 3);
		world.setBlock(x + 7, y + 1, z + 8, Block2, 0, 3);
		world.setBlock(x + 8, y + 1, z + 8, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 10, y + 1, z + 8, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 0, y + 1, z + 9, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 1, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 5, y + 1, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 1, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 1, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 1, z + 9, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 10, y + 1, z + 9, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 1, z + 10, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 4, y + 1, z + 10, Block5, 0, 3);
		world.setBlock(x + 7, y + 1, z + 10, ModBlocks.capacitor_copper, 0, 3);
		world.setBlock(x + 8, y + 1, z + 10, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 10, y + 1, z + 10, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 1, z + 11, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 1, z + 11, ModBlocks.capacitor_copper, 0, 3);
		world.setBlock(x + 8, y + 1, z + 11, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 10, y + 1, z + 11, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 1, z + 12, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 7, y + 1, z + 12, ModBlocks.capacitor_copper, 0, 3);
		world.setBlock(x + 8, y + 1, z + 12, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 10, y + 1, z + 12, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 1, z + 13, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 1, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 5, y + 1, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 1, z + 13, Block5, 0, 3);
		world.setBlock(x + 7, y + 1, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 1, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 1, z + 13, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 1, z + 14, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 1, z + 14, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 0, y + 1, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + 1, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 1, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 3, y + 1, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 1, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 1, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 6, y + 1, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 7, y + 1, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 8, y + 1, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 9, y + 1, z + 15, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 1, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 2, y + 2, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 3, y + 2, z + 0, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 4, y + 2, z + 0, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 5, y + 2, z + 0, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 6, y + 2, z + 0, ModBlocks.deco_steel, 3, 3);
		world.setBlock(x + 7, y + 2, z + 0, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 8, y + 2, z + 0, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 9, y + 2, z + 0, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 10, y + 2, z + 0, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 2, y + 2, z + 1, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 10, y + 2, z + 1, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 2, y + 2, z + 2, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 5, y + 2, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 2, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 2, z + 2, Block4, s3, 3);
		world.setBlock(x + 10, y + 2, z + 2, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 2, y + 2, z + 3, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 4, y + 2, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 2, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 2, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 2, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 2, z + 3, Block4, s4, 3);
		world.setBlock(x + 10, y + 2, z + 3, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 2, y + 2, z + 4, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 4, y + 2, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 2, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 2, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 2, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 2, z + 4, Block2, 0, 3);
		world.setBlock(x + 10, y + 2, z + 4, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 2, y + 2, z + 5, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 4, y + 2, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 2, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 2, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 2, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 2, z + 5, Block4, s4, 3);
		world.setBlock(x + 10, y + 2, z + 5, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 2, y + 2, z + 6, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 5, y + 2, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 2, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 2, z + 6, Block4, s2, 3);
		world.setBlock(x + 10, y + 2, z + 6, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 0, y + 2, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + 2, z + 7, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 2, y + 2, z + 7, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 3, y + 2, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 6, y + 2, z + 7, Block2, 0, 3);
		world.setBlock(x + 7, y + 2, z + 7, Block2, 0, 3);
		world.setBlock(x + 8, y + 2, z + 7, Block2, 0, 3);
		world.setBlock(x + 10, y + 2, z + 7, ModBlocks.deco_steel, 0, 3);
		world.setBlock(x + 0, y + 2, z + 8, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 3, y + 2, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 2, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 2, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 6, y + 2, z + 8, Block2, 0, 3);
		world.setBlock(x + 7, y + 2, z + 8, Block2, 0, 3);
		world.setBlock(x + 8, y + 2, z + 8, Block2, 0, 3);
		world.setBlock(x + 10, y + 2, z + 8, ModBlocks.deco_steel, 0, 3);
		world.setBlock(x + 0, y + 2, z + 9, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 4, y + 2, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 5, y + 2, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 2, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 2, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 2, z + 9, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 2, z + 9, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 0, y + 2, z + 10, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 4, y + 2, z + 10, Blocks.brick_block, 0, 3);
		world.setBlock(x + 5, y + 2, z + 10, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 2, z + 10, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 2, z + 10, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 2, z + 10, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 2, z + 10, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 4, y + 2, z + 11, Blocks.brick_block, 0, 3);
		world.setBlock(x + 5, y + 2, z + 11, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 2, z + 11, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 2, z + 11, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 2, z + 11, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 2, z + 11, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 0, y + 2, z + 12, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 4, y + 2, z + 12, Blocks.brick_block, 0, 3);
		world.setBlock(x + 5, y + 2, z + 12, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 2, z + 12, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 2, z + 12, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 2, z + 12, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 2, z + 12, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 0, y + 2, z + 13, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 4, y + 2, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 5, y + 2, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 6, y + 2, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 7, y + 2, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 8, y + 2, z + 13, Blocks.brick_block, 0, 3);
		world.setBlock(x + 10, y + 2, z + 13, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 0, y + 2, z + 14, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 10, y + 2, z + 14, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 0, y + 2, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 1, y + 2, z + 15, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 2, y + 2, z + 15, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 3, y + 2, z + 15, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 4, y + 2, z + 15, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 5, y + 2, z + 15, ModBlocks.deco_steel, 1, 3);
		world.setBlock(x + 6, y + 2, z + 15, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 7, y + 2, z + 15, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 8, y + 2, z + 15, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 9, y + 2, z + 15, ModBlocks.barbed_wire, 0, 3);
		world.setBlock(x + 10, y + 2, z + 15, Library.getRandomConcrete(), 0, 3);
		world.setBlock(x + 5, y + 3, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 3, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 3, z + 2, Block4, s3, 3);
		world.setBlock(x + 4, y + 3, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 3, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 3, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 3, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 3, z + 3, Block4, s4, 3);
		world.setBlock(x + 4, y + 3, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 3, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 3, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 3, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 3, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 3, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 3, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 3, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 3, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 3, z + 5, Block4, s4, 3);
		world.setBlock(x + 9, y + 3, z + 5, Block2, 0, 3);
		world.setBlock(x + 5, y + 3, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 3, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 3, z + 6, Block4, s2, 3);
		world.setBlock(x + 8, y + 3, z + 6, Block2, 0, 3);
		world.setBlock(x + 9, y + 3, z + 6, Block2, 0, 3);
		world.setBlock(x + 10, y + 3, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 3, z + 7, Block2, 0, 3);
		world.setBlock(x + 8, y + 3, z + 7, Block2, 0, 3);
		world.setBlock(x + 9, y + 3, z + 7, Block2, 0, 3);
		world.setBlock(x + 5, y + 3, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 6, y + 3, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 7, y + 3, z + 8, Block2, 0, 3);
		world.setBlock(x + 8, y + 3, z + 8, Block2, 0, 3);
		world.setBlock(x + 5, y + 4, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 4, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 4, z + 2, Block4, s3, 3);
		world.setBlock(x + 4, y + 4, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 4, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 4, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 4, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 4, z + 3, Block4, s4, 3);
		world.setBlock(x + 4, y + 4, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 4, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 4, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 4, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 4, z + 4, Block2, 0, 3);
		world.setBlock(x + 9, y + 4, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 4, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 4, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 4, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 4, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 4, z + 5, Block4, s4, 3);
		world.setBlock(x + 9, y + 4, z + 5, Block2, 0, 3);
		world.setBlock(x + 10, y + 4, z + 5, Block2, 0, 3);
		world.setBlock(x + 5, y + 4, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 4, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 4, z + 6, Block4, s2, 3);
		world.setBlock(x + 10, y + 4, z + 6, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 9, y + 4, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 4, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 6, y + 4, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 7, y + 4, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 8, y + 4, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 9, y + 4, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 5, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 5, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 5, z + 2, Block4, s3, 3);
		world.setBlock(x + 4, y + 5, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 5, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 5, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 5, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 5, z + 3, Block4, s4, 3);
		world.setBlock(x + 9, y + 5, z + 3, Block2, 0, 3);
		world.setBlock(x + 4, y + 5, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 5, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 5, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 5, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 5, z + 4, Block2, 0, 3);
		world.setBlock(x + 9, y + 5, z + 4, Block2, 0, 3);
		world.setBlock(x + 10, y + 5, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 5, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 5, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 5, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 5, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 5, z + 5, Block4, s4, 3);
		world.setBlock(x + 10, y + 5, z + 5, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 5, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 5, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 5, z + 6, Block4, s2, 3);
		world.setBlock(x + 10, y + 5, z + 6, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 8, y + 6, z + 0, Block2, 0, 3);
		world.setBlock(x + 7, y + 6, z + 1, Block2, 0, 3);
		world.setBlock(x + 8, y + 6, z + 1, Block2, 0, 3);
		world.setBlock(x + 9, y + 6, z + 1, Block2, 0, 3);
		world.setBlock(x + 5, y + 6, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 6, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 6, z + 2, Block4, s3, 3);
		world.setBlock(x + 8, y + 6, z + 2, Block2, 0, 3);
		world.setBlock(x + 9, y + 6, z + 2, Block2, 0, 3);
		world.setBlock(x + 10, y + 6, z + 2, Block2, 0, 3);
		world.setBlock(x + 4, y + 6, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 6, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 6, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 6, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 6, z + 3, Block4, s4, 3);
		world.setBlock(x + 9, y + 6, z + 3, Block2, 0, 3);
		world.setBlock(x + 10, y + 6, z + 3, Block2, 0, 3);
		world.setBlock(x + 4, y + 6, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 6, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 6, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 6, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 6, z + 4, Block2, 0, 3);
		world.setBlock(x + 10, y + 6, z + 4, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 6, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 6, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 6, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 6, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 6, z + 5, Block4, s4, 3);
		world.setBlock(x + 10, y + 6, z + 5, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 6, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 6, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 6, z + 6, Block4, s2, 3);
		world.setBlock(x + 7, y + 7, z + 0, Block2, 0, 3);
		world.setBlock(x + 8, y + 7, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 9, y + 7, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 6, y + 7, z + 1, Block2, 0, 3);
		world.setBlock(x + 7, y + 7, z + 1, Block2, 0, 3);
		world.setBlock(x + 9, y + 7, z + 1, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 7, z + 1, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 7, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 7, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 7, z + 2, Block4, s3, 3);
		world.setBlock(x + 10, y + 7, z + 2, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 7, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 7, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 7, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 7, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 7, z + 3, Block4, s4, 3);
		world.setBlock(x + 10, y + 7, z + 3, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 7, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 7, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 7, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 7, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 7, z + 4, Block2, 0, 3);
		world.setBlock(x + 10, y + 7, z + 4, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 7, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 7, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 7, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 7, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 7, z + 5, Block4, s4, 3);
		world.setBlock(x + 5, y + 7, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 7, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 7, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 8, z + 0, Block2, 0, 3);
		world.setBlock(x + 7, y + 8, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 8, y + 8, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 8, z + 1, Block2, 0, 3);
		world.setBlock(x + 6, y + 8, z + 1, Block2, 0, 3);
		world.setBlock(x + 5, y + 8, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 8, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 8, z + 2, Block4, s3, 3);
		world.setBlock(x + 4, y + 8, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 8, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 8, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 8, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 8, z + 3, Block4, s4, 3);
		world.setBlock(x + 4, y + 8, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 8, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 8, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 8, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 8, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 8, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 8, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 8, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 8, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 8, z + 5, Block4, s4, 3);
		world.setBlock(x + 5, y + 8, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 8, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 8, z + 6, Block4, s2, 3);
		world.setBlock(x + 4, y + 9, z + 0, Block2, 0, 3);
		world.setBlock(x + 5, y + 9, z + 0, Block2, 0, 3);
		world.setBlock(x + 6, y + 9, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 7, y + 9, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 3, y + 9, z + 1, Block2, 0, 3);
		world.setBlock(x + 4, y + 9, z + 1, Block2, 0, 3);
		world.setBlock(x + 5, y + 9, z + 1, Block2, 0, 3);
		world.setBlock(x + 2, y + 9, z + 2, Block2, 0, 3);
		world.setBlock(x + 3, y + 9, z + 2, Block2, 0, 3);
		world.setBlock(x + 4, y + 9, z + 2, Block2, 0, 3);
		world.setBlock(x + 5, y + 9, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 9, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 9, z + 2, Block4, s3, 3);
		world.setBlock(x + 3, y + 9, z + 3, Block2, 0, 3);
		world.setBlock(x + 4, y + 9, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 9, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 9, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 9, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 9, z + 3, Block4, s4, 3);
		world.setBlock(x + 4, y + 9, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 9, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 9, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 9, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 9, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 9, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 9, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 9, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 9, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 9, z + 5, Block4, s4, 3);
		world.setBlock(x + 5, y + 9, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 9, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 9, z + 6, Block4, s2, 3);
		world.setBlock(x + 3, y + 10, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 10, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 10, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 6, y + 10, z + 0, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 10, z + 1, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 3, y + 10, z + 1, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 2, y + 10, z + 2, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 10, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 10, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 10, z + 2, Block4, s3, 3);
		world.setBlock(x + 2, y + 10, z + 3, Block2, 0, 3);
		world.setBlock(x + 3, y + 10, z + 3, Block2, 0, 3);
		world.setBlock(x + 4, y + 10, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 10, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 10, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 10, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 10, z + 3, Block4, s4, 3);
		world.setBlock(x + 3, y + 10, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 10, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 10, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 10, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 10, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 10, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 10, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 10, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 10, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 10, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 10, z + 5, Block4, s4, 3);
		world.setBlock(x + 5, y + 10, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 10, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 10, z + 6, Block4, s2, 3);
		world.setBlock(x + 2, y + 11, z + 2, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 11, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 11, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 11, z + 2, Block4, s3, 3);
		world.setBlock(x + 2, y + 11, z + 3, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 11, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 11, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 11, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 11, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 11, z + 3, Block4, s4, 3);
		world.setBlock(x + 10, y + 11, z + 3, Block6, 0, 3);
		world.setBlock(x + 2, y + 11, z + 4, Block2, 0, 3);
		world.setBlock(x + 3, y + 11, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 11, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 11, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 11, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 11, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 11, z + 4, Block2, 0, 3);
		world.setBlock(x + 10, y + 11, z + 4, Block6, 0, 3);
		world.setBlock(x + 3, y + 11, z + 5, Block2, 0, 3);
		world.setBlock(x + 4, y + 11, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 11, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 11, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 11, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 11, z + 5, Block4, s4, 3);
		world.setBlock(x + 10, y + 11, z + 5, Block6, 0, 3);
		world.setBlock(x + 5, y + 11, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 11, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 11, z + 6, Block4, s2, 3);
		world.setBlock(x + 5, y + 12, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 12, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 12, z + 2, Block4, s3, 3);
		world.setBlock(x + 10, y + 12, z + 2, Block6, 0, 3);
		world.setBlock(x + 2, y + 12, z + 3, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 12, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 12, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 12, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 12, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 12, z + 3, Block4, s4, 3);
		world.setBlock(x + 9, y + 12, z + 3, Block6, 0, 3);
		world.setBlock(x + 2, y + 12, z + 4, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 12, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 12, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 12, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 12, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 12, z + 4, Block2, 0, 3);
		world.setBlock(x + 9, y + 12, z + 4, Block6, 0, 3);
		world.setBlock(x + 2, y + 12, z + 5, Block2, 0, 3);
		world.setBlock(x + 3, y + 12, z + 5, Block2, 0, 3);
		world.setBlock(x + 4, y + 12, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 12, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 12, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 12, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 12, z + 5, Block4, s4, 3);
		world.setBlock(x + 9, y + 12, z + 5, Block6, 0, 3);
		world.setBlock(x + 2, y + 12, z + 6, Block2, 0, 3);
		world.setBlock(x + 3, y + 12, z + 6, Block2, 0, 3);
		world.setBlock(x + 4, y + 12, z + 6, Block2, 0, 3);
		world.setBlock(x + 5, y + 12, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 12, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 12, z + 6, Block4, s2, 3);
		world.setBlock(x + 10, y + 12, z + 6, Block6, 0, 3);
		world.setBlock(x + 3, y + 12, z + 7, Block2, 0, 3);
		world.setBlock(x + 4, y + 12, z + 7, Block2, 0, 3);
		world.setBlock(x + 5, y + 12, z + 7, Block2, 0, 3);
		world.setBlock(x + 4, y + 12, z + 8, Block2, 0, 3);
		world.setBlock(x + 5, y + 13, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 13, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 13, z + 2, Block4, s3, 3);
		world.setBlock(x + 10, y + 13, z + 2, Block6, 0, 3);
		world.setBlock(x + 4, y + 13, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 13, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 13, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 13, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 13, z + 3, Block4, s4, 3);
		world.setBlock(x + 9, y + 13, z + 3, Block6, 0, 3);
		world.setBlock(x + 2, y + 13, z + 4, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 13, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 13, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 13, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 13, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 13, z + 4, Block2, 0, 3);
		world.setBlock(x + 9, y + 13, z + 4, Block7, 0, 3);
		world.setBlock(x + 10, y + 13, z + 4, Block7, 0, 3);
		world.setBlock(x + 11, y + 13, z + 4, Block8, 0, 3);
		world.setBlock(x + 2, y + 13, z + 5, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 13, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 13, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 13, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 13, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 13, z + 5, Block4, s4, 3);
		world.setBlock(x + 9, y + 13, z + 5, Block6, 0, 3);
		world.setBlock(x + 2, y + 13, z + 6, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 13, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 13, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 13, z + 6, Block4, s2, 3);
		world.setBlock(x + 8, y + 13, z + 6, Block2, 0, 3);
		world.setBlock(x + 9, y + 13, z + 6, Block2, 0, 3);
		world.setBlock(x + 10, y + 13, z + 6, Block6, 0, 3);
		world.setBlock(x + 2, y + 13, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 3, y + 13, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 13, z + 7, Block2, 0, 3);
		world.setBlock(x + 6, y + 13, z + 7, Block2, 0, 3);
		world.setBlock(x + 7, y + 13, z + 7, Block2, 0, 3);
		world.setBlock(x + 8, y + 13, z + 7, Block2, 0, 3);
		world.setBlock(x + 9, y + 13, z + 7, Block2, 0, 3);
		world.setBlock(x + 3, y + 13, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 13, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 13, z + 8, Block2, 0, 3);
		world.setBlock(x + 6, y + 13, z + 8, Block2, 0, 3);
		world.setBlock(x + 7, y + 13, z + 8, Block2, 0, 3);
		world.setBlock(x + 8, y + 13, z + 8, Block2, 0, 3);
		world.setBlock(x + 5, y + 14, z + 2, Block4, s3, 3);
		world.setBlock(x + 6, y + 14, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 14, z + 2, Block4, s3, 3);
		world.setBlock(x + 10, y + 14, z + 2, Block6, 0, 3);
		world.setBlock(x + 4, y + 14, z + 3, Block4, s5, 3);
		world.setBlock(x + 5, y + 14, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 14, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 14, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 14, z + 3, Block4, s4, 3);
		world.setBlock(x + 9, y + 14, z + 3, Block6, 0, 3);
		world.setBlock(x + 4, y + 14, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 14, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 14, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 14, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 14, z + 4, Block2, 0, 3);
		world.setBlock(x + 9, y + 14, z + 4, Block6, 0, 3);
		world.setBlock(x + 4, y + 14, z + 5, Block4, s5, 3);
		world.setBlock(x + 5, y + 14, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 14, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 14, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 14, z + 5, Block4, s4, 3);
		world.setBlock(x + 9, y + 14, z + 5, Block6, 0, 3);
		world.setBlock(x + 5, y + 14, z + 6, Block4, s2, 3);
		world.setBlock(x + 6, y + 14, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 14, z + 6, Block4, s2, 3);
		world.setBlock(x + 8, y + 14, z + 6, ModBlocks.crate_iron, 0, 3);
		world.setBlockMetadataWithNotify(x + 8, y + 14, z + 6, 3, 3);
        WeightedRandomChestContent.generateChestContents(rand, ItemPool.getPool(ItemPoolsLegacy.POOL_ANTENNA), (TileEntityCrateIron)world.getTileEntity(x + 8, y + 14, z + 6), 8);
		world.setBlock(x + 9, y + 14, z + 6, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 10, y + 14, z + 6, Block6, 0, 3);
		world.setBlock(x + 9, y + 14, z + 7, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 4, y + 14, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 14, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 6, y + 14, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 7, y + 14, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 8, y + 14, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 9, y + 14, z + 8, ModBlocks.fence_metal, 0, 3);
		world.setBlock(x + 5, y + 15, z + 2, Block2, 0, 3);
		world.setBlock(x + 6, y + 15, z + 2, Block2, 0, 3);
		world.setBlock(x + 7, y + 15, z + 2, Block2, 0, 3);
		world.setBlock(x + 4, y + 15, z + 3, Block2, 0, 3);
		world.setBlock(x + 5, y + 15, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 15, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 15, z + 3, Block2, 0, 3);
		world.setBlock(x + 8, y + 15, z + 3, Block2, 0, 3);
		world.setBlock(x + 10, y + 15, z + 3, Block6, 0, 3);
		world.setBlock(x + 4, y + 15, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 15, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 15, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 15, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 15, z + 4, Block2, 0, 3);
		world.setBlock(x + 10, y + 15, z + 4, Block6, 0, 3);
		world.setBlock(x + 4, y + 15, z + 5, Block2, 0, 3);
		world.setBlock(x + 5, y + 15, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 15, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 15, z + 5, Block2, 0, 3);
		world.setBlock(x + 8, y + 15, z + 5, Block2, 0, 3);
		world.setBlock(x + 10, y + 15, z + 5, Block6, 0, 3);
		world.setBlock(x + 5, y + 15, z + 6, Block2, 0, 3);
		world.setBlock(x + 6, y + 15, z + 6, Block2, 0, 3);
		world.setBlock(x + 7, y + 15, z + 6, Block2, 0, 3);
		world.setBlock(x + 6, y + 16, z + 2, Block2, 0, 3);
		world.setBlock(x + 5, y + 16, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 16, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 16, z + 3, Block2, 0, 3);
		world.setBlock(x + 4, y + 16, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 16, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 16, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 16, z + 4, Block2, 0, 3);
		world.setBlock(x + 8, y + 16, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 16, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 16, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 16, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 16, z + 6, Block2, 0, 3);
		world.setBlock(x + 5, y + 17, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 17, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 17, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 17, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 17, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 17, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 17, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 17, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 17, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 18, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 18, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 18, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 18, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 18, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 18, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 18, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 18, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 18, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 19, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 19, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 19, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 19, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 19, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 19, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 19, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 19, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 19, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 20, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 20, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 20, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 20, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 20, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 20, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 20, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 20, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 20, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 21, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 21, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 21, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 21, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 21, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 21, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 21, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 21, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 21, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 22, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 22, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 22, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 22, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 22, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 22, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 22, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 22, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 22, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 23, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 23, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 23, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 23, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 23, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 23, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 23, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 23, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 23, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 24, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 24, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 24, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 24, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 24, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 24, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 24, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 24, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 24, z + 5, Block4, s2, 3);
		world.setBlock(x + 3, y + 25, z + 3, Block6, 0, 3);
		world.setBlock(x + 5, y + 25, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 25, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 25, z + 3, Block4, s3, 3);
		world.setBlock(x + 3, y + 25, z + 4, Block6, 0, 3);
		world.setBlock(x + 5, y + 25, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 25, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 25, z + 4, Block2, 0, 3);
		world.setBlock(x + 3, y + 25, z + 5, Block6, 0, 3);
		world.setBlock(x + 5, y + 25, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 25, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 25, z + 5, Block4, s2, 3);
		world.setBlock(x + 3, y + 26, z + 2, Block6, 0, 3);
		world.setBlock(x + 4, y + 26, z + 3, Block6, 0, 3);
		world.setBlock(x + 5, y + 26, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 26, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 26, z + 3, Block4, s3, 3);
		world.setBlock(x + 4, y + 26, z + 4, Block6, 0, 3);
		world.setBlock(x + 5, y + 26, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 26, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 26, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 26, z + 5, Block6, 0, 3);
		world.setBlock(x + 5, y + 26, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 26, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 26, z + 5, Block4, s2, 3);
		world.setBlock(x + 3, y + 26, z + 6, Block6, 0, 3);
		world.setBlock(x + 3, y + 27, z + 2, Block6, 0, 3);
		world.setBlock(x + 4, y + 27, z + 3, Block6, 0, 3);
		world.setBlock(x + 5, y + 27, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 27, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 27, z + 3, Block4, s3, 3);
		world.setBlock(x + 2, y + 27, z + 4, Block8, 0, 3);
		world.setBlock(x + 3, y + 27, z + 4, Block7, 0, 3);
		world.setBlock(x + 4, y + 27, z + 4, Block7, 0, 3);
		world.setBlock(x + 5, y + 27, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 27, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 27, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 27, z + 5, Block6, 0, 3);
		world.setBlock(x + 5, y + 27, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 27, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 27, z + 5, Block4, s2, 3);
		world.setBlock(x + 3, y + 27, z + 6, Block6, 0, 3);
		world.setBlock(x + 3, y + 28, z + 2, Block6, 0, 3);
		world.setBlock(x + 4, y + 28, z + 3, Block6, 0, 3);
		world.setBlock(x + 5, y + 28, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 28, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 28, z + 3, Block4, s3, 3);
		world.setBlock(x + 4, y + 28, z + 4, Block6, 0, 3);
		world.setBlock(x + 5, y + 28, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 28, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 28, z + 4, Block2, 0, 3);
		world.setBlock(x + 4, y + 28, z + 5, Block6, 0, 3);
		world.setBlock(x + 5, y + 28, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 28, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 28, z + 5, Block4, s2, 3);
		world.setBlock(x + 3, y + 28, z + 6, Block6, 0, 3);
		world.setBlock(x + 3, y + 29, z + 3, Block6, 0, 3);
		world.setBlock(x + 5, y + 29, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 29, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 29, z + 3, Block4, s3, 3);
		world.setBlock(x + 3, y + 29, z + 4, Block6, 0, 3);
		world.setBlock(x + 5, y + 29, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 29, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 29, z + 4, Block2, 0, 3);
		world.setBlock(x + 3, y + 29, z + 5, Block6, 0, 3);
		world.setBlock(x + 5, y + 29, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 29, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 29, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 30, z + 1, Block6, 0, 3);
		world.setBlock(x + 6, y + 30, z + 1, Block6, 0, 3);
		world.setBlock(x + 7, y + 30, z + 1, Block6, 0, 3);
		world.setBlock(x + 5, y + 30, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 30, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 30, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 30, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 30, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 30, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 30, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 30, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 30, z + 5, Block4, s2, 3);
		world.setBlock(x + 4, y + 31, z + 1, Block6, 0, 3);
		world.setBlock(x + 8, y + 31, z + 1, Block6, 0, 3);
		world.setBlock(x + 5, y + 31, z + 2, Block6, 0, 3);
		world.setBlock(x + 6, y + 31, z + 2, Block6, 0, 3);
		world.setBlock(x + 7, y + 31, z + 2, Block6, 0, 3);
		world.setBlock(x + 5, y + 31, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 31, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 31, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 31, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 31, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 31, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 31, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 31, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 31, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 32, z + 0, Block8, 0, 3);
		world.setBlock(x + 4, y + 32, z + 1, Block6, 0, 3);
		world.setBlock(x + 6, y + 32, z + 1, Block7, 0, 3);
		world.setBlock(x + 8, y + 32, z + 1, Block6, 0, 3);
		world.setBlock(x + 5, y + 32, z + 2, Block6, 0, 3);
		world.setBlock(x + 6, y + 32, z + 2, ModBlocks.crate_iron, 0, 3);
		world.setBlockMetadataWithNotify(x + 6, y + 32, z + 2, 2, 3);
        WeightedRandomChestContent.generateChestContents(rand, ItemPool.getPool(ItemPoolsLegacy.POOL_EXPENSIVE), (TileEntityCrateIron)world.getTileEntity(x + 6, y + 32, z + 2), 8);
		world.setBlock(x + 7, y + 32, z + 2, Block6, 0, 3);
		world.setBlock(x + 5, y + 32, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 32, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 32, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 32, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 32, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 32, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 32, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 32, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 32, z + 5, Block4, s2, 3);
		world.setBlock(x + 4, y + 33, z + 1, Block6, 0, 3);
		world.setBlock(x + 8, y + 33, z + 1, Block6, 0, 3);
		world.setBlock(x + 5, y + 33, z + 2, Block6, 0, 3);
		world.setBlock(x + 6, y + 33, z + 2, Block6, 0, 3);
		world.setBlock(x + 7, y + 33, z + 2, Block6, 0, 3);
		world.setBlock(x + 5, y + 33, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 33, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 33, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 33, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 33, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 33, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 33, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 33, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 33, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 34, z + 1, Block6, 0, 3);
		world.setBlock(x + 6, y + 34, z + 1, Block6, 0, 3);
		world.setBlock(x + 7, y + 34, z + 1, Block6, 0, 3);
		world.setBlock(x + 5, y + 34, z + 3, Block4, s3, 3);
		world.setBlock(x + 6, y + 34, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 34, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 34, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 34, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 34, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 34, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 34, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 34, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 35, z + 3, Block2, 0, 3);
		world.setBlock(x + 6, y + 35, z + 3, Block2, 0, 3);
		world.setBlock(x + 7, y + 35, z + 3, Block2, 0, 3);
		world.setBlock(x + 5, y + 35, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 35, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 35, z + 4, Block2, 0, 3);
		world.setBlock(x + 5, y + 35, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 35, z + 5, Block2, 0, 3);
		world.setBlock(x + 7, y + 35, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 36, z + 3, Block2, 0, 3);
		world.setBlock(x + 5, y + 36, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 36, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 36, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 36, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 37, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 37, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 37, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 37, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 37, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 38, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 38, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 38, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 38, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 38, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 39, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 39, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 39, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 39, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 39, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 40, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 40, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 40, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 40, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 40, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 41, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 41, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 41, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 41, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 41, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 41, z + 6, Block6, 0, 3);
		world.setBlock(x + 6, y + 41, z + 6, Block6, 0, 3);
		world.setBlock(x + 7, y + 41, z + 6, Block6, 0, 3);
		world.setBlock(x + 6, y + 42, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 42, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 42, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 42, z + 4, Block4, s4, 3);
		world.setBlock(x + 5, y + 42, z + 5, Block6, 0, 3);
		world.setBlock(x + 6, y + 42, z + 5, Block6, 0, 3);
		world.setBlock(x + 7, y + 42, z + 5, Block6, 0, 3);
		world.setBlock(x + 4, y + 42, z + 6, Block6, 0, 3);
		world.setBlock(x + 8, y + 42, z + 6, Block6, 0, 3);
		world.setBlock(x + 6, y + 43, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 43, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 43, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 43, z + 4, Block4, s4, 3);
		world.setBlock(x + 5, y + 43, z + 5, Block6, 0, 3);
		world.setBlock(x + 6, y + 43, z + 5, Block7, 0, 3);
		world.setBlock(x + 7, y + 43, z + 5, Block6, 0, 3);
		world.setBlock(x + 4, y + 43, z + 6, Block6, 0, 3);
		world.setBlock(x + 6, y + 43, z + 6, Block7, 0, 3);
		world.setBlock(x + 8, y + 43, z + 6, Block6, 0, 3);
		world.setBlock(x + 6, y + 43, z + 7, Block8, 0, 3);
		world.setBlock(x + 6, y + 44, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 44, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 44, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 44, z + 4, Block4, s4, 3);
		world.setBlock(x + 5, y + 44, z + 5, Block6, 0, 3);
		world.setBlock(x + 6, y + 44, z + 5, Block6, 0, 3);
		world.setBlock(x + 7, y + 44, z + 5, Block6, 0, 3);
		world.setBlock(x + 4, y + 44, z + 6, Block6, 0, 3);
		world.setBlock(x + 8, y + 44, z + 6, Block6, 0, 3);
		world.setBlock(x + 6, y + 45, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 45, z + 4, Block4, s5, 3);

		generate_r02(world, rand, x, y, z);
		return true;

	}
	public boolean generate_r02(World world, Random rand, int x, int y, int z)
	{

		world.setBlock(x + 6, y + 45, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 45, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 45, z + 5, Block4, s2, 3);
		world.setBlock(x + 5, y + 45, z + 6, Block6, 0, 3);
		world.setBlock(x + 6, y + 45, z + 6, Block6, 0, 3);
		world.setBlock(x + 7, y + 45, z + 6, Block6, 0, 3);
		world.setBlock(x + 6, y + 46, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 46, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 46, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 46, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 46, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 47, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 47, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 47, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 47, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 47, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 48, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 48, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 48, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 48, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 48, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 49, z + 3, Block4, s3, 3);
		world.setBlock(x + 5, y + 49, z + 4, Block4, s5, 3);
		world.setBlock(x + 6, y + 49, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 49, z + 4, Block4, s4, 3);
		world.setBlock(x + 6, y + 49, z + 5, Block4, s2, 3);
		world.setBlock(x + 6, y + 50, z + 3, Block2, 0, 3);
		world.setBlock(x + 5, y + 50, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 50, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 7, y + 50, z + 4, Block2, 0, 3);
		world.setBlock(x + 6, y + 50, z + 5, Block2, 0, 3);
		world.setBlock(x + 6, y + 51, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 52, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 53, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 54, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 55, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 56, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 57, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 58, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 59, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 60, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 61, z + 4, ModBlocks.red_wire_coated, 0, 3);
		world.setBlock(x + 6, y + 62, z + 4, Block9, 2, 3);

		generate_r03_last(world, rand, x, y, z);
		return true;

	}
	public boolean generate_r03_last(World world, Random rand, int x, int y, int z)
	{

		world.setBlock(x + 5, y + 1, z + 11, Blocks.torch, 1, 3);
		world.setBlock(x + 3, y + 1, z + 12, Blocks.wall_sign, 4, 3);
		if(GeneralConfig.enableDebugMode)
			System.out.print("[Debug] Successfully spawned relay tower at " + x + " " + y +" " + z + "\n");
		return true;

	}

}