@SuppressWarnings("deprecation")
	private void placeMushroomTree(World world, int x, int y, int z, Random rand)
	{
		boolean brownTree = rand.nextBoolean();
		if(brownTree)
		{
			int height = rand.nextInt(3)+5;
			for(int y2 = 0; y2 < height; y2++)
			{
				setBlockWithData(world, x, y+y2, z, Material.HUGE_MUSHROOM_1.getId(), 10);
			}
			for(int x2 = -2; x2 <= 2; x2++)
			{
				for(int z2 = -2; z2 <= 2; z2++)
				{
					setBlockWithData(world, x+x2, y+height, z+z2, Material.HUGE_MUSHROOM_1.getId(), 5);
				}
			}
			for(int x2 = -1; x2 <= 1; x2++)
			{
				setBlockWithData(world, x+x2, y+height, z-3, Material.HUGE_MUSHROOM_1.getId(), 2);
				setBlockWithData(world, x+x2, y+height, z+3, Material.HUGE_MUSHROOM_1.getId(), 8);
			}
			for(int z2 = -1; z2 <= 1; z2++)
			{
				setBlockWithData(world, x-3, y+height, z+z2, Material.HUGE_MUSHROOM_1.getId(), 4);
				setBlockWithData(world, x+3, y+height, z+z2, Material.HUGE_MUSHROOM_1.getId(), 6);
			}
			setBlockWithData(world, x-3, y+height, z-2, Material.HUGE_MUSHROOM_1.getId(), 1);
			setBlockWithData(world, x-2, y+height, z-3, Material.HUGE_MUSHROOM_1.getId(), 1);
			setBlockWithData(world, x+3, y+height, z-2, Material.HUGE_MUSHROOM_1.getId(), 3);
			setBlockWithData(world, x+2, y+height, z-3, Material.HUGE_MUSHROOM_1.getId(), 3);
			setBlockWithData(world, x-3, y+height, z+2, Material.HUGE_MUSHROOM_1.getId(), 7);
			setBlockWithData(world, x-2, y+height, z+3, Material.HUGE_MUSHROOM_1.getId(), 7);
			setBlockWithData(world, x+3, y+height, z+2, Material.HUGE_MUSHROOM_1.getId(), 9);
			setBlockWithData(world, x+2, y+height, z+3, Material.HUGE_MUSHROOM_1.getId(), 9);
		}
		else
		{
			int height = rand.nextInt(3)+4;
			for(int y2 = 0; y2 < height; y2++)
			{
				setBlockWithData(world, x, y+y2, z, Material.HUGE_MUSHROOM_2.getId(), 10);
			}
			setBlockWithData(world, x, y+height, z, Material.HUGE_MUSHROOM_2.getId(), 5);
			
			setBlockWithData(world, x, y+height, z-1, Material.HUGE_MUSHROOM_2.getId(), 2);
			setBlockWithData(world, x-1, y+height, z, Material.HUGE_MUSHROOM_2.getId(), 4);
			setBlockWithData(world, x+1, y+height, z, Material.HUGE_MUSHROOM_2.getId(), 6);
			setBlockWithData(world, x, y+height, z+1, Material.HUGE_MUSHROOM_2.getId(), 8);
			
			for(int y2 = height-3; y2 <= height-1; y2++)
			{
				setBlockWithData(world, x, y+y2, z-2, Material.HUGE_MUSHROOM_2.getId(), 2);
				setBlockWithData(world, x-2, y+y2, z, Material.HUGE_MUSHROOM_2.getId(), 4);
				setBlockWithData(world, x+2, y+y2, z, Material.HUGE_MUSHROOM_2.getId(), 6);
				setBlockWithData(world, x, y+y2, z+2, Material.HUGE_MUSHROOM_2.getId(), 8);
				
				setBlockWithData(world, x-2, y+y2, z-1, Material.HUGE_MUSHROOM_2.getId(), 1);
				setBlockWithData(world, x-1, y+y2, z-2, Material.HUGE_MUSHROOM_2.getId(), 1);
				setBlockWithData(world, x+2, y+y2, z-1, Material.HUGE_MUSHROOM_2.getId(), 3);
				setBlockWithData(world, x+1, y+y2, z-2, Material.HUGE_MUSHROOM_2.getId(), 3);
				setBlockWithData(world, x-2, y+y2, z+1, Material.HUGE_MUSHROOM_2.getId(), 7);
				setBlockWithData(world, x-1, y+y2, z+2, Material.HUGE_MUSHROOM_2.getId(), 7);
				setBlockWithData(world, x+2, y+y2, z+1, Material.HUGE_MUSHROOM_2.getId(), 9);
				setBlockWithData(world, x+1, y+y2, z+2, Material.HUGE_MUSHROOM_2.getId(), 9);
			}
			
			setBlockWithData(world, x-1, y+height, z-1, Material.HUGE_MUSHROOM_2.getId(), 1);
			setBlockWithData(world, x+1, y+height, z+1, Material.HUGE_MUSHROOM_2.getId(), 9);
			setBlockWithData(world, x+1, y+height, z-1, Material.HUGE_MUSHROOM_2.getId(), 3);
			setBlockWithData(world, x-1, y+height, z+1, Material.HUGE_MUSHROOM_2.getId(), 7);
		}
	}