The bug
Upon reaching 2,147,483,647 centimeters counter is reset to a negative value.
Linked issues
is duplicated by 2
relates to 2
Attachments
Comments 16
Duplicated by MC-79954
What do you mean its not? An Int tag is an integer between -2,147,483,648 and 2,147,483,647 (inclusive).
From http://www.minecraft.gamepedia.com/Commands
My method of checking if this is actually fixed, maybe for others or in case it isn't:
Summon a bunch of OP zombies by repeating this command a few times:
/summon zombie ~ ~ ~ {HandItems:[{id:"diamond_axe",Count:1,tag:{Enchantments:[{id:"sharpness",lvl:32767}]}},{}]}
Make sure that you resist all damage:
/effect give @s minecraft:resistance 1000000 4 true
Make yourself the zombies' punching bag:
/gamemode survival
This way you resist 16395 damage about twice per second, reaching the 32 bit integer limit in about 20 minutes.
I'll report back in 20 minutes whether this bug is actually fixed, at least for that statistic.
Oh, thanks for that tip. This way it's almost instant. The scoreboard still overflows, but the statistic stays at the integer limit, as expected. That report is MC-79954. Fix for this report confirmed.
It is possible to test this by editing the statistics. The statistics are stored in the "stats" folder, in a JSON file that can be edited. Changing the numbers to 2147483647 (2^31-1) and then checking in game can greatly simplify the verification.
Int value overflow.