Eh? :
Your problem is that you (probably) have no problem.
KryoNet works with registering packets, you call Kryo.register(ClassNameHere.class) on both ends independently.
This means: It only matters in which order you register stuff, it does not matter if the class (or its methods and variables) have different names as long as they are containing the same fields in the same places.
How would KryoNet know that the classes have different names on both ends if everything that is transmitted is an ID (= order of register call) and a pile of data representing the fields.
Write your own Serializer if you want to go 100% sure that nothing fancy happens:
public class Vector3Serializer extends Serializer<Vector3>{
@Override
public Vector3 read(Kryo kryo, Input in, Class<Vector3> vectorClass) {
return new Vector3(in.readFloat(), in.readFloat(), in.readFloat());
}
@Override
public void write(Kryo kryo, Output out, Vector3 vec) {
out.writeFloat(vec.x);
out.writeFloat(vec.y);
out.writeFloat(vec.z);
}
}
Then call this instead of your normal procedere:
kryo.register(ClassNameHere.class, new ClassNameHereSerializer());
And read the KryoNet readme on github, mostly everything is explained there.