<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:26:23 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-11051] playerKillCount, totalKillCount always assigns the kill to the person, that did first hit a player, even if he has been killed by someone else.</title>
                <link>https://bugs.mojang.com/browse/MC-11051</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;When im creating a scoreboard to find out about a players kill, the kill will always go to the person, that did first hit the person, that was killed.&lt;/p&gt;

&lt;p&gt;How to reproduce:&lt;br/&gt;
/scoreboard objectives add kills totalKillCount kills OR /scoreboard objectives add kills playerKillCount kills&lt;br/&gt;
/scoreboard objectives setdisplay kills&lt;/p&gt;

&lt;p&gt;you need 3 players, of which one has to be in survival move.&lt;br/&gt;
Player 1 attacks the player that is in survival mode once.&lt;br/&gt;
Player 2 attacks the player that is in survival mode until he dies&lt;br/&gt;
Player 1 got the kill counted.&lt;/p&gt;

&lt;p&gt;what im expecting:&lt;br/&gt;
the player that actually did the last hit(killed the player) should get the kill.&lt;/p&gt;

&lt;p&gt;i hope this will be fixed before 1.5 comes out.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25141">MC-11051</key>
            <summary>playerKillCount, totalKillCount always assigns the kill to the person, that did first hit a player, even if he has been killed by someone else.</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kinsi">kinsi</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Mar 2013 15:47:23 +0100</created>
                <updated>Sat, 27 Jul 2013 12:37:32 +0200</updated>
                            <resolved>Sat, 27 Jul 2013 12:37:32 +0200</resolved>
                                    <version>Snapshot 13w09c</version>
                    <version>Snapshot 13w10a</version>
                    <version>Snapshot 13w10b</version>
                    <version>Minecraft 1.5</version>
                    <version>Snapshot 13w11a</version>
                                    <fixVersion>Minecraft 1.6.2</fixVersion>
                                                        <votes>1</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="94748" author="kumasasa" created="Sat, 27 Jul 2013 12:37:32 +0200"  >&lt;p&gt;Thanks. &lt;br/&gt;
The &quot;most-damage-gets-the-credit&quot; is intended. See &lt;a href=&quot;https://bugs.mojang.com/browse/MC-10026&quot; title=&quot;Scoreboard totalKillCount objective doesn&amp;#39;t give point to proper player if more than one player attacks a mob&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-10026&quot;&gt;&lt;del&gt;MC-10026&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
 For feature suggestions or changes please use the &lt;a href=&quot;http://www.minecraftforum.net/forum/1-suggestions/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Minecraft Forums: Suggestions&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="94745" author="kinsi" created="Sat, 27 Jul 2013 12:28:23 +0200"  >&lt;p&gt;Though this particular bug is fixed in 1.6.2, it still gives the kill to the person that did the most damage, not to the last hitter.&lt;/p&gt;

&lt;p&gt;i would suggest adding something like &quot;TotalLastHitCount&quot; or something like that, because in the way it is currently, its not that useful&lt;/p&gt;</comment>
                            <comment id="94732" author="kumasasa" created="Sat, 27 Jul 2013 11:51:38 +0200"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; 1.6.2 / Launcher version 1.1.2 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="55081" author="kinsi" created="Mon, 18 Mar 2013 17:13:04 +0100"  >&lt;p&gt;in my tests, it actually always went to the player who did the first hit.&lt;/p&gt;</comment>
                            <comment id="55075" author="torabi" created="Mon, 18 Mar 2013 17:01:34 +0100"  >&lt;p&gt;According to &lt;a href=&quot;https://mojang.atlassian.net/browse/MC-10026?focusedCommentId=46536&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-46536&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Dinnerbone&apos;s comment&lt;/a&gt; on &lt;a href=&quot;https://bugs.mojang.com/browse/MC-10026&quot; title=&quot;Scoreboard totalKillCount objective doesn&amp;#39;t give point to proper player if more than one player attacks a mob&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-10026&quot;&gt;&lt;del&gt;MC-10026&lt;/del&gt;&lt;/a&gt;, the kill should go to whoever did the most damage, not necessarily the first or the last one to hit them.&lt;/p&gt;</comment>
                            <comment id="52082" author="dude" created="Tue, 12 Mar 2013 18:59:14 +0100"  >&lt;p&gt;Confirmed in 1.5pre&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="23862">MC-10026</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0aolj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>