-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChunkPosition.java
More file actions
37 lines (31 loc) · 840 Bytes
/
ChunkPosition.java
File metadata and controls
37 lines (31 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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;
}