After my total “Distance Traveled” statistic went beyond 2,100,000,000 blocks, it suddenly reset to 0 and stopped increasing. Other statistics (Blocks Broken, Mobs Killed, etc.) continue updating normally.
This strongly suggests that the stat is stored using a signed 32-bit integer (int32), which overflows when it exceeds its maximum positive value.
Steps to Reproduce :
Accumulate more than 2,147,483,647 blocks traveled (through long-term gameplay or testing tools).
Open Profile -> Statistics -> Summary.
Observe that “Distance Traveled” resets to 0 and never updates again.
Expected Result :
The distance counter should continue to increase normally beyond 2.1B.
Observed Result :
After exceeding 2.1B, the stat resets to 0 and remains stuck.
Linked issues
duplicates 1
Attachments
Comments 3
The Resolved status does not mean that the issue has been fixed. It just means that the report has been closed. When a report is closed, look at the automated comment to see what resolution it has been closed as.
In this case, your report was resolved as a Duplicate, which means that the issue has already been reported by someone else. You can find a link to the report by clicking on the Issue Links Panel button on the right, but it’s currently having difficulties loading, so I will post the link here:
what ??