mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-28 19:49:06 +00:00
Parallax fixes
This commit is contained in:
@@ -83,4 +83,8 @@ public class Position2 {
|
||||
public Position2 add(int x, int z) {
|
||||
return new Position2(this.x + x, this.z + z);
|
||||
}
|
||||
|
||||
public Position2 blockToChunk() {
|
||||
return new Position2(x >> 4, z >> 4);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user