How to calculate distance traveled by the player

Started by Krabo on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 months ago
Joined May 2025
Points:
28

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
How to calculate distance traveled by the player

I want to count how many blocks did the player traveled (walked/sprinted/shifted [not by elytra or boat])
And I dont know how to do that.

Active 3 months ago
Joined May 2025
Points:
28

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
This really helped me: https…
Mon, 05/12/2025 - 20:15

This really helped me: https://imgur.com/a/T54iEIJ
It was posted from player eth_cr  I cant even say how much it helped, I was researching for too long, if you guys want help with something, just type here in the comments (If someone wants my use of this image)