Point extends Location { public Point set(Axis axis, double value) { switch (axis) { case X: setX(value); break; case Y: setY(value); break; case Z: setZ(value); break; } return this; } Point();  Point(double x, double y, double z);  Point(@Nullable World world, double x, double y, double z);  Point(@Nullable World world, double x, double y, double z, float yaw, float pitch); void copy(Location origin, Location result); void copy(Location origin, Vector result); void align(Location origin); Point set(Axis axis, double value); boolean relative(Axis axis); Point relative(Axis axis, boolean relative); boolean rotation(); Point rotation(boolean rotation); @Override boolean equals(Object object); @Override int hashCode(); @Override String toString();  }
@Test void set() { assertEquals(4, point.set(Axis.X, 4).getX(), 0.00000001); assertEquals(5, point.set(Axis.Y, 5).getY(), 0.00000001); assertEquals(6, point.set(Axis.Z, 6).getZ(), 0.00000001); }