v2 parallax fixes!

This commit is contained in:
Daniel Mills
2020-10-31 14:45:58 -04:00
parent b74a00de22
commit f2339f26ca
10 changed files with 191 additions and 67 deletions

View File

@@ -16,6 +16,23 @@ public class BlockPosition
this.z = z;
}
public boolean equals(Object o)
{
if(o == null)
{
return false;
}
if(o instanceof BlockPosition)
{
BlockPosition ot = (BlockPosition) o;
return ot.x == x && ot.y == y && ot.z == z;
}
return false;
}
public int getChunkX()
{
return x >> 4;