<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 15:25:53 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>[MCPE-20130] Experience is not updated after UpdateAttributesPacket</title>
                <link>https://bugs.mojang.com/browse/MCPE-20130</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;Exp bar is not updated after sending UpdateAttributesPacket, but if i send TextPacket or change player inventory it updates successfully. This bug affects only experience, other things like hunger and health works fine. Tested on pmmp, nukkit, minet, local server.&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;br/&gt;
1. Send UpdateAttributesPacket with exp level more than player have&lt;br/&gt;
2. Notice that it won&apos;t update&lt;br/&gt;
3. Send message to player and notice that bar updated&lt;/p&gt;

&lt;p&gt;UPDATE&lt;br/&gt;
You can also test it on local server.&lt;br/&gt;
1. Host server on first device and connect from second to it.&lt;br/&gt;
2. On first device type&lt;br/&gt;
/xp 1L second_device_name&lt;br/&gt;
3. See that exp bar don&apos;t updates&lt;/p&gt;</description>
            <key id="164128">MCPE-20130</key>
            <summary>Experience is not updated after UpdateAttributesPacket</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>
                                            <reporter username="undrfined">Maksim Sunduk</reporter>
                        <labels>
                            <label>experience</label>
                    </labels>
                <created>Wed, 22 Feb 2017 15:30:31 +0100</created>
                <updated>Fri, 7 Aug 2020 18:13:02 +0200</updated>
                            <resolved>Thu, 10 Aug 2017 09:02:40 +0200</resolved>
                                    <version>1.0.3</version>
                    <version>1.0.4.11</version>
                    <version>1.0.5.0</version>
                    <version>1.0.5.13</version>
                    <version>1.0.6.52</version>
                    <version>1.1.0.5</version>
                    <version>1.1.0.8</version>
                    <version>1.1.0.9</version>
                    <version>1.1.0.55</version>
                    <version>1.1.4.51</version>
                    <version>1.2.0.2</version>
                                    <fixVersion>1.2.0.11</fixVersion>
                                                        <votes>8</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="389701" author="edoras" created="Tue, 20 Jun 2017 15:50:08 +0200"  >&lt;p&gt;Yeah I&apos;ve noticed that anything which changes the hotbar at all, even the durability of an item being lowered, also causes the xp bar to update.&lt;/p&gt;

&lt;p&gt;Not a gamebreaking bug, but interesting.&lt;/p&gt;</comment>
                            <comment id="388186" author="onehoop" created="Sun, 11 Jun 2017 05:11:34 +0200"  >&lt;p&gt;Only seen since 1.1 for me. Attacking again with a sword or changing the active  item through the hotbar, also causes an xp bar update. I can punch mobs for quite a while with my hand without an update though.&lt;/p&gt;</comment>
                            <comment id="380311" author="mega_spud" created="Thu, 27 Apr 2017 19:44:54 +0200"  >&lt;p&gt;Affects hosts since 1.1.* beta.  Xp bar does not update (you can open and close the inventory to update it)&lt;/p&gt;</comment>
                            <comment id="369424" author="jonathan5733" created="Fri, 24 Feb 2017 19:36:59 +0100"  >&lt;p&gt;Cannot reproduce on two Apple iPad mini devices, both are running iOS 9.3.5&lt;/p&gt;</comment>
                            <comment id="369095" author="nicke.olofsson@gmail.com" created="Wed, 22 Feb 2017 19:03:13 +0100"  >&lt;p&gt;So the bug seems to be a gfx issue. Any type of action that triggers a redraw will update the level-text, otherwise not. I can reproduce it on MiNET if I don&apos;t use a command (since that will redraw the screen when exiting the chat).&lt;/p&gt;</comment>
                            <comment id="369092" author="nicke.olofsson@gmail.com" created="Wed, 22 Feb 2017 18:37:44 +0100"  >&lt;p&gt;I just tested this with MiNET-.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: solid;&quot;&gt;&lt;b&gt;command.cs&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;[Command]
&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void Xp(Player player)
{
	player.Experience += 0.1f;
	player.ExperienceLevel += 1;
	player.SendUpdateAttributes();
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Works just fine,&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="166758">MCPE-20779</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="170063">MCPE-21750</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="170517">MCPE-21889</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="172146">MCPE-22201</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="172442">MCPE-22351</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="166107">MCPE-20607</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="134512" name="rep.gif" size="5774143" author="undrfined" created="Sun, 26 Feb 2017 09:14:13 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11500" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>ADO</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>59949</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 31 Jul 2017 21:31:00 +0200</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_11300" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>Operating System Version</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Windows 10</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10402" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Platform</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10901"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0c9lb:</customfieldvalue>

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