I want to find the “file” or the data that has my current coordinates and use my real time coordinates to be read by a program I’m designing in an IDE. Is there a way to do find my player coordinates in real time? I’ve looked into NBTExploerer, but it looks like it only saves my coordinates when I quit the program.
Minecraft – Way to extract Minecraft player coordinates in real time
minecraft-java-edition
Related Topic
- Minecraft execute tellraw’s clickEvent from original entity, not player
- Minecraft Java Edition – How to Create a Variable in Minecraft
- Minecraft – Why is the Minecraft server generating mod folders
- Minecraft Java Edition – How to Completely Disable the Narrator in Minecraft 1.12.2
- Minecraft – the maximum number of blocks you can reach/hit a player in PvP
- Minecraft Java Edition – How to Extract Sign Text from .mca Files
Best Answer
The game saves about every 45 seconds, so this would be the best accuracy you'd get reading the player.dat file. If you want real-time, probably the easiest approach would be to play on a server and plug your program into the communication, e.g. modifying an open-source tool like Bungeecord which acts as a proxy merging multiple servers. Extracting the player position from the client-server communication would provide you with best real-time accuracy.