Hello! Is TypeTokens.VECTOR_3D_VALUE_TOKEN right option?
By all means use vector 3d with the position of the location and then also save the world too.
Voila:
TypeToken<Location> tokenLocationWorld = new TypeToken<Location>() {};
Tip: Surround your code in code blocks because what it looks like you wrote is Location
instead of Location<World>
. Good old HTML parsing.
Also, saving a Location<World>
isn’t necessarily a good idea because those have a lot of block-related information too.