<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 15:27:10 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-20460] Command Bug: Damage Value Doesn&apos;t Apply Correctly</title>
                <link>https://bugs.mojang.com/browse/MCPE-20460</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;When using the /give command, adding a damage value doesn&apos;t always apply correctly.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What I expected to happen:&lt;/b&gt;&lt;br/&gt;
I expected the correct damage to be applied to the item given.  For an example that works, use &lt;font color=&quot;red&quot;&gt;/give @p iron_sword 1 248&lt;/font&gt; - This gives an iron sword with only a couple of uses left&lt;/p&gt;


&lt;p&gt;&lt;b&gt;What actually happened:&lt;/b&gt;&lt;br/&gt;
If you try and use this give command: &lt;font color=&quot;red&quot;&gt;/give @p diamond_pickaxe 1 400&lt;/font&gt; you  either receive a diamond pick with zero damage, or an invisible item.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Use the command  &lt;font color=&quot;red&quot;&gt;/give @p diamond_pickaxe 1 400&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;Notice the tool has full durability&lt;/li&gt;
	&lt;li&gt;This affects other items as well (will update later*)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;em&gt;Note that the command  &lt;font color=&quot;red&quot;&gt;/give @p diamond_pickaxe 1 250&lt;/font&gt; is the highest damage value that applies to the diamond pickaxe.&lt;/em&gt;&lt;/p&gt;


&lt;p&gt;*Other Items with incorrect damage:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Elytra: maximum damage applied is 255&lt;/li&gt;
&lt;/ul&gt;


</description>
            <key id="165515">MCPE-20460</key>
            <summary>Command Bug: Damage Value Doesn&apos;t Apply Correctly</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="5">Cannot Reproduce</resolution>
                                            <reporter username="Mega_Spud">[Mojang] Mega_Spud (Jay Wells)</reporter>
                        <labels>
                            <label>/give</label>
                            <label>command</label>
                            <label>damage</label>
                            <label>durability</label>
                    </labels>
                <created>Fri, 17 Mar 2017 11:33:42 +0100</created>
                <updated>Tue, 27 Mar 2018 16:43:14 +0200</updated>
                            <resolved>Tue, 27 Mar 2018 16:43:14 +0200</resolved>
                                    <version>1.0.5.3</version>
                    <version>1.0.5.13</version>
                    <version>1.0.6.0</version>
                                                                        <votes>1</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="443214" author="mega_spud" created="Tue, 27 Mar 2018 16:43:14 +0200"  >&lt;p&gt;Cleaning up old tickets:  This ticket has not been updated recently (1 year+) so is being closed as &lt;em&gt;Cannot Reproduce&lt;/em&gt;.  If you feel this is still a valid issue then please comment, or create a new ticket following the &lt;a href=&quot;http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft&quot; title=&quot;How To Write helpful bug reports&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft&quot; title=&quot;How To Write Awesome Tickets! &#128175;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; &amp;#8211; &#128172; &lt;a href=&quot;https://www.reddit.com/r/MCPE/&quot; title=&quot;Help From the Minecraft Community &#128377;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Community Support&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://feedback.minecraft.net/&quot; title=&quot;Feedback and Suggestions &#9997;&#65039;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Feedback&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;http://minecraft.gamepedia.com/Minecraft_Wiki&quot; title=&quot;Official Minecraft Wiki &#127891;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Game Wiki&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="374146" author="zebulanstanphill@gmail.com" created="Mon, 27 Mar 2017 00:27:31 +0200"  >&lt;p&gt;Confirmed to affect 1.0.6.0.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="135253" name="giveDamage.JPG" size="273089" author="Mega_Spud" created="Fri, 17 Mar 2017 11:33:42 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11500" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>ADO</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>64291</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 27 Mar 2017 00:27: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_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|i0d7i7:</customfieldvalue>

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