package net.minecraft.src;
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.

// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode 

import java.util.Random;

public class MapGenBase {

	public MapGenBase() {
		field_1306_a = 8;
		rand = new Random();
	}

	public void func_867_a(IChunkProvider ichunkprovider, World world, int i, int j, byte abyte0[]) {
		int k = field_1306_a;
		rand.setSeed(world.func_22138_q());
		long l = (rand.nextLong() / 2L) * 2L + 1L;
		long l1 = (rand.nextLong() / 2L) * 2L + 1L;
		for (int i1 = i - k; i1 <= i + k; i1++) {
			for (int j1 = j - k; j1 <= j + k; j1++) {
				rand.setSeed((long) i1 * l + (long) j1 * l1 ^ world.func_22138_q());
				func_868_a(world, i1, j1, i, j, abyte0);
			}

		}

	}

	protected void func_868_a(World world, int i, int j, int k, int l, byte abyte0[]) {
	}

	protected int field_1306_a;
	protected Random rand;
}
