<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:59:31 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-2930] Heart bar doesn&apos;t show how much damage is dealt to the player</title>
                <link>https://bugs.mojang.com/browse/MC-2930</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;In versions prior to the singleplayer/multiplayer merge (before 1.3), the heart bar would briefly flash faint hearts depending on how many of them were lost when taking damage. This is gone since version 1.3, with no mention in the change logs. &lt;a href=&quot;http://youtu.be/ZpJFucPcFSU&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Here&apos;s a video comparison of the health bar between 1.2.5 and 1.4.2.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What I expected to happen was...&lt;/b&gt;&lt;br/&gt;
Blinking faint bright hearts showing how much health I had before taking damage. If I had 10 hearts, and I took 2 hearts of damage, I&apos;d expect those 2 hearts to blink briefly before dissapearing completely.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What actually happened was...&lt;/b&gt;&lt;br/&gt;
No sign of how much hearts were lost. The hearts completely dissappear just after taking any damage.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;br/&gt;
This is not about regeneration, which works as expected. &lt;a href=&quot;https://bugs.mojang.com/browse/MC-2930?focusedCommentId=161233&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-161233&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;User Vincent Lee has found a relevant part of the code related to the bug.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to reproduce:&lt;/b&gt;&lt;br/&gt;
1. Load a world on survival mode.&lt;br/&gt;
2. Take damage from any source.&lt;br/&gt;
3. Observe the heart bar. It should flash the hearts that were lost, but it does not.&lt;/p&gt;</description>
                <environment>Windows 7&lt;br/&gt;
Java 1.7.0_09</environment>
        <key id="14800">MC-2930</key>
            <summary>Heart bar doesn&apos;t show how much damage is dealt to the player</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="dinnerbone">[Mojang] Nathan Adams</assignee>
                                    <reporter username="danielegvi">Daniel Garcia</reporter>
                        <labels>
                            <label>GUI</label>
                    </labels>
                <created>Tue, 13 Nov 2012 23:38:44 +0100</created>
                <updated>Tue, 5 May 2015 04:52:43 +0200</updated>
                            <resolved>Thu, 31 Jul 2014 11:08:25 +0200</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>Minecraft 1.4.4</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Minecraft 1.5</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.6.4</version>
                    <version>Minecraft 13w36a</version>
                    <version>Minecraft 13w36b</version>
                    <version>Minecraft 13w37a</version>
                    <version>Minecraft 1.7.1</version>
                    <version>Minecraft 1.7.2</version>
                    <version>Minecraft 13w48a</version>
                    <version>Minecraft 13w48b</version>
                    <version>Minecraft 13w49a</version>
                    <version>Minecraft 1.7.3</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w08a</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 14w10b</version>
                    <version>Minecraft 14w10c</version>
                    <version>Minecraft 14w11b</version>
                    <version>Minecraft 1.7.9</version>
                    <version>Minecraft 14w20b</version>
                    <version>Minecraft 14w21a</version>
                    <version>Minecraft 14w21b</version>
                    <version>Minecraft 1.7.10</version>
                    <version>Minecraft 14w29a</version>
                    <version>Minecraft 14w29b</version>
                                    <fixVersion>Minecraft 14w32a</fixVersion>
                                                        <votes>25</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="186136" author="insomniac_lemon" created="Fri, 8 Aug 2014 03:34:09 +0200"  >&lt;p&gt;I can see why it was done that way, because you are still receiving damage, this allows you to easily see how much damage you have received just before stopping the damage. For instance, if you are underwater with 9 hearts, if you start drowning you can clearly see you started with 9 and lost 3.&lt;/p&gt;

&lt;p&gt;However, &quot;saturation&quot; hearts are the only heath that do not have these transition icons, and food points have the textures but they never worked in the first place.&lt;/p&gt;</comment>
                            <comment id="186111" author="torabi" created="Fri, 8 Aug 2014 01:31:20 +0200"  >&lt;p&gt;That&apos;s part of the &lt;a href=&quot;https://twitter.com/Dinnerbone/status/497362125476478976&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;improvements&lt;/a&gt;. Did you watch the video demonstrating the new behavior?&lt;/p&gt;</comment>
                            <comment id="186080" author="williewillus" created="Fri, 8 Aug 2014 00:24:21 +0200"  >&lt;p&gt;Whatever Mojang tried in 14w32a/b does not work fully.&lt;/p&gt;

&lt;p&gt;Test case:&lt;br/&gt;
Setup cactus. Hug cactus and stay there. &lt;br/&gt;
Expected outcome: Only the lost half heart increments flash each time.&lt;br/&gt;
Real outcome: All hearts lost from the cactus hug flash.&lt;br/&gt;
If you hug the cactus for ~10 secs about 5 of the hearts will flash.&lt;/p&gt;

&lt;p&gt;This is incorrect as it does not show that 0.5 heart of damage was taken each time.&lt;/p&gt;

&lt;p&gt;Please check and reopen.&lt;/p&gt;

&lt;p&gt;Devs: Look at how it worked in 1.2.5. Replicate that.&lt;/p&gt;</comment>
                            <comment id="182911" author="insomniac_lemon" created="Thu, 31 Jul 2014 07:32:42 +0200"  >&lt;p&gt;Confirmed for 14w31a.&lt;/p&gt;</comment>
                            <comment id="182890" author="agentpaint" created="Thu, 31 Jul 2014 05:41:13 +0200"  >&lt;p&gt;I cannot confirm if this is still in 14w31a. I can&apos;t see the heart bar fast enough.&lt;/p&gt;</comment>
                            <comment id="161759" author="williewillus" created="Thu, 5 Jun 2014 22:21:38 +0200"  >&lt;p&gt;Update on bug hunting - &lt;br/&gt;
Turns out this problem can be solved by adding ONE LINE to the code.&lt;/p&gt;

&lt;p&gt;Mojangsters: Using MCP names&lt;/p&gt;

&lt;p&gt;In &lt;tt&gt;EntityClientPlayerMP&lt;/tt&gt; &apos;s attackEntityFrom() method.&lt;br/&gt;
Before the return false statement, insert &lt;tt&gt;this.prevHealth = getHealth() + par2;&lt;/tt&gt;&lt;br/&gt;
this sets the correct clientsided prevHealth value so the gui can render the flashing hearts appropriately.&lt;/p&gt;</comment>
                            <comment id="161296" author="danielegvi" created="Sun, 1 Jun 2014 22:24:56 +0200"  >&lt;p&gt;I reworded almost everything in hopes to get attention more easily from Mojang. Sorry for making several small edits instead of just one large edit.&lt;/p&gt;</comment>
                            <comment id="161226" author="garyclosse" created="Sun, 1 Jun 2014 17:02:26 +0200"  >&lt;p&gt;Confirmed for 14w21b.&lt;/p&gt;</comment>
                            <comment id="147454" author="garyclosse" created="Sat, 15 Mar 2014 22:28:16 +0100"  >&lt;p&gt;Confirmed for 14w11b&lt;/p&gt;</comment>
                            <comment id="146260" author="garyclosse" created="Tue, 11 Mar 2014 18:35:50 +0100"  >&lt;p&gt;Confirmed for 1.7.5 and 14w10c&lt;/p&gt;</comment>
                            <comment id="142664" author="garyclosse" created="Sun, 23 Feb 2014 17:16:53 +0100"  >&lt;p&gt;Still in 08a&lt;/p&gt;</comment>
                            <comment id="140148" author="garyclosse" created="Fri, 14 Feb 2014 15:43:23 +0100"  >&lt;p&gt;Still present in 07&lt;/p&gt;</comment>
                            <comment id="139401" author="garyclosse" created="Sun, 9 Feb 2014 18:27:02 +0100"  >&lt;p&gt;Also affects 1.8 snapshots (06a/b)&lt;/p&gt;</comment>
                            <comment id="128891" author="insomniac_lemon" created="Sat, 4 Jan 2014 13:41:50 +0100"  >&lt;p&gt;Still broken up to 1.7.4.&lt;/p&gt;</comment>
                            <comment id="104309" author="williewillus" created="Wed, 18 Sep 2013 22:17:06 +0200"  >&lt;p&gt;Did some testing.&lt;br/&gt;
This bug has been in multiplayer ever since release 1.0 (it was fine in multiplayer beta 1.8)&lt;br/&gt;
With the conversion of singleplayer into multiplayer in 1.3 this bug was carried into singleplayer as well.&lt;/p&gt;</comment>
                            <comment id="102498" author="danielegvi" created="Thu, 12 Sep 2013 06:56:23 +0200"  >&lt;p&gt;Bug hasn&apos;t been fixed yet neither in latest release or snapshot at the time of writing.&lt;/p&gt;</comment>
                            <comment id="97626" author="insomniac_lemon" created="Wed, 7 Aug 2013 20:17:54 +0200"  >&lt;p&gt;Yes, still not fixed, even though they added new GUI icons that included new transition icons. Also, pack.png is once again broken.&lt;/p&gt;</comment>
                            <comment id="53611" author="bljat" created="Fri, 15 Mar 2013 18:55:08 +0100"  >&lt;p&gt;Is this still a concern in the current Minecraft version? 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="21762" author="cubethethird" created="Thu, 15 Nov 2012 14:15:07 +0100"  >&lt;p&gt;Can confirm.&lt;/p&gt;</comment>
                            <comment id="21723" author="danielegvi" created="Thu, 15 Nov 2012 11:40:04 +0100"  >&lt;p&gt;I&apos;ve made the description and summary a little clearer.&lt;/p&gt;</comment>
                            <comment id="21701" author="user1_1_11" created="Thu, 15 Nov 2012 06:24:38 +0100"  >&lt;p&gt;Oh my mistake, I misread your complaint. You could be a little clearer in you description of the problem, but I see what you mean now.&lt;/p&gt;</comment>
                            <comment id="21693" author="danielegvi" created="Thu, 15 Nov 2012 06:05:57 +0100"  >&lt;p&gt;It is not about the regeneration, regeneration works completely as expected.&lt;br/&gt;
It&apos;s about the bright hearts that blink when taking damage, which indicates how much health you had before taking damage. It is gone since Minecraft 1.3, with no mention in the change logs.&lt;/p&gt;</comment>
                            <comment id="21692" author="user1_1_11" created="Thu, 15 Nov 2012 06:02:29 +0100"  >&lt;p&gt;It looks the same in 1.4.2 you are gaining health from your food, I see no problem.&lt;/p&gt;</comment>
                            <comment id="21691" author="danielegvi" created="Thu, 15 Nov 2012 05:50:47 +0100"  >&lt;p&gt;Added example/comparison video.&lt;br/&gt;
I noticed YouTube messed up a little up with the video&apos;s &quot;lighting&quot;, shouldn&apos;t be a problem though.&lt;/p&gt;</comment>
                            <comment id="21671" author="danielegvi" created="Thu, 15 Nov 2012 04:14:51 +0100"  >&lt;p&gt;I&apos;m uploading a video right now, but internet is slow at the moment. Expect a link in an hour or two.&lt;/p&gt;</comment>
                            <comment id="21666" author="cubethethird" created="Thu, 15 Nov 2012 04:04:32 +0100"  >&lt;p&gt;Based on your screenshots, I fail to see the problem here.&lt;/p&gt;</comment>
                            <comment id="21316" author="awesomedude8888" created="Wed, 14 Nov 2012 00:29:42 +0100"  >&lt;p&gt;It actually flashes on the 2nd picture&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="17065">MC-4539</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13095" name="2012-11-13_16.28.27.png" size="693820" author="danielegvi" created="Tue, 13 Nov 2012 23:38:44 +0100"/>
                            <attachment id="13094" name="2012-11-13_17.03.36.png" size="586537" author="danielegvi" created="Tue, 13 Nov 2012 23:38:44 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 15 Nov 2012 05:04:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></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_10501" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Game Mode</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10304"><![CDATA[Survival]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00mkf:</customfieldvalue>

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