mojira.dev
MC-38347

stat.mobKills and sum of stat.killEntity.* don't always match

After creating a web app that parses the player json stat files I noticed the value for stat.mobKills and the sum of all the values for each stat.killEntity record are not always equal.

For one player mobKills was 6 higher than the sum of killEntity.*
For another player mobKills was 1 lower than killEntity.*

It might have something do with exactly how the mob dies, ie by the players fist/weapon vs being pushed off a cliff or set on fire, or even switching between creative and survival and killing entities in both modes. However I've not had time to investigate exactly what is causing this behavior.

Comments 7

kill Entity
Not all entities are mobs
Try destroying a minecart, painting, or item frame. If killEntity goes up, I'm right. I'm not sure, but this is the most logical solution I can come up with.

That would seem like a reasonable explanation, however the entries in the killEntity statistic are only living entities (zombie,cow,sheep,skeleton,etc). So the the totals of all the killEntity stats should still be equal to the mobKills stat

Is this still a concern in the latest Minecraft version 14w02c? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Is this still a concern in the current Minecraft version 14w11b / Launcher version 1.3.11 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Is this still a concern in the current Minecraft version 14w20b / Launcher version 1.3.11 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Steven S.

(Unassigned)

Unconfirmed

mulltiplayer, statistics

Minecraft 1.7.2

Retrieved