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 

public class ChunkPosition {

	public ChunkPosition(int i, int j, int k) {
		x = i;
		y = j;
		z = k;
	}

	public boolean equals(Object obj) {
		if (obj instanceof ChunkPosition) {
			ChunkPosition chunkposition = (ChunkPosition) obj;
			return chunkposition.x == x && chunkposition.y == y && chunkposition.z == z;
		} else {
			return false;
		}
	}

	public int hashCode() {
		return x * 0x88f9fa + y * 0xef88b + z;
	}

	public final int x;
	public final int y;
	public final int z;
}
