@@ -0,0 +1,1133 @@
+package net.dimensions.solar.position;%0A%0Apublic class Vector %7B%0A%0A%09public double x = 0;%0A%09public double y = 0;%0A%09public double z = 0;%0A%0A%09public Vector(double x, double y, double z) %7B%0A%09%09super();%0A%09%09this.x = x;%0A%09%09this.y = y;%0A%09%09this.z = z;%0A%09%7D%0A%0A%09private Vector() %7B%0A%09%7D%0A%0A%09public double getX() %7B%0A%09%09return x;%0A%09%7D%0A%0A%09public void setX(double x) %7B%0A%09%09this.x = x;%0A%09%7D%0A%0A%09public double getY() %7B%0A%09%09return y;%0A%09%7D%0A%0A%09public void setY(double y) %7B%0A%09%09this.y = y;%0A%09%7D%0A%0A%09public double getZ() %7B%0A%09%09return z;%0A%09%7D%0A%0A%09public void setZ(double z) %7B%0A%09%09this.z = z;%0A%09%7D%0A%0A%09@Override%0A%09public int hashCode() %7B%0A%09%09return (x + %22:%22 + y + %22:%22 + z).hashCode();%0A%09%7D%0A%0A%09@Override%0A%09public boolean equals(Object o) %7B%0A%09%09if (!(o instanceof Vector))%0A%09%09%09return false;%0A%09%09Vector l = (Vector) o;%0A%09%09return l.x == x && l.y == y && l.z == z;%0A%09%7D%0A%0A%09public static Vector fromLong(long l) %7B%0A%09%09Vector loc = new Vector();%0A%09%09loc.x = ((int) (l %3E%3E 38)) / 32;%0A%09%09loc.y = ((int) (l %3C%3C 26 %3E%3E 52)) / 32;%0A%09%09loc.z = ((int) (l %3C%3C 38 %3E%3E 38)) / 32;%0A%09%09return loc;%0A%09%7D%0A%0A%09public static long toLong(Vector l) %7B%0A%09%09return (((int) l.x * 32) & 0x3ffffff) %3C%3C 38 %7C (((int) l.y * 32) & 0xfff) %3C%3C 26 %7C (((int) l.z * 32) & 0x3ffffff);%0A%09%7D%0A%7D%0A

Create Vector.java