I am currently working on a client for Minecraft Java edition and I'm having an issue finding out how I can get my Minecraft character's current coordinates, client side coordinates.
I would just like to know where I can find the file that contains the coordinates, or a way to get the coordinates, without using forge, or anything like that. Just vanilla Minecraft. The Minecraft version I am working with is 1.8.9, but I would like this to work for any version of the game.