<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:23:18 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-10112] /clear with command blocks not working with armor that has been worn with custom damage values.</title>
                <link>https://bugs.mojang.com/browse/MC-10112</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;I have a command block that gives me an iron chestplate with damage -32000. I also have another command block saying /clear @p. Without equipping the chestplate /clear works ok. But when I wear the armor and take it off again /clear doesn&apos;t work. Also tested with chain helmet and leather pants.&lt;/p&gt;</description>
                <environment>Java 7 update 10&lt;br/&gt;
Windows 7 Home Premium&lt;br/&gt;
Normal Minecraft Launcher</environment>
        <key id="23971">MC-10112</key>
            <summary>/clear with command blocks not working with armor that has been worn with custom damage values.</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="6" iconUrl="https://bugs.mojang.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="jeb">[Mojang] Jeb (Jens Bergensten)</assignee>
                                    <reporter username="labcoatlazuli">Eugene Lee</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Feb 2013 13:03:52 +0100</created>
                <updated>Fri, 22 Mar 2013 20:45:43 +0100</updated>
                            <resolved>Wed, 27 Feb 2013 15:16:54 +0100</resolved>
                                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w09a</version>
                                    <fixVersion>Snapshot 13w09b</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="56386" author="bljat" created="Fri, 22 Mar 2013 20:45:43 +0100"  >&lt;p&gt;Closed. This is no discussion forum here.&lt;/p&gt;</comment>
                            <comment id="56380" author="brinjal66" created="Fri, 22 Mar 2013 20:25:44 +0100"  >&lt;p&gt;I agree with the people saying that we need negative damage values. I use them. And so do a lot of people. An &quot;indestructible&quot; boolean cannot be given by command blocks without the inclusion of the givechest (&lt;a href=&quot;http://www.minecraftforum.net/topic/1561812-now-that-we-have-the-command-block/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.minecraftforum.net/topic/1561812-now-that-we-have-the-command-block/&lt;/a&gt;) Just undo this fix and re-fix it by editing the clear command.&lt;/p&gt;</comment>
                            <comment id="54485" author="labcoatlazuli" created="Sun, 17 Mar 2013 11:49:19 +0100"  >&lt;p&gt;This problem needs to be solved soon. It&apos;s breaking a ton of maps. We NEED (I repeat: NEED) the custom damage values. It was permissible before, its just that the behaviour is a bit weird. I think the undefined behaviour needs to be fixed rather than the custom damages completely removed.&lt;/p&gt;</comment>
                            <comment id="54361" author="abomdosnow" created="Sun, 17 Mar 2013 04:06:24 +0100"  >&lt;p&gt;...I just want unbreakable swords.&lt;/p&gt;</comment>
                            <comment id="54208" author="captainduude" created="Sat, 16 Mar 2013 20:52:15 +0100"  >&lt;p&gt;I totally agree with the suggestions. The custom damages are VERY important to us.&lt;/p&gt;</comment>
                            <comment id="53976" author="alili1996" created="Sat, 16 Mar 2013 12:24:40 +0100"  >&lt;p&gt;but the suggestions at the forum get ignored most of the time and these custom damages are pretty important for us &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="53970" author="kumasasa" created="Sat, 16 Mar 2013 11:56:23 +0100"  >&lt;p&gt;Please discuss feature requests at 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="53960" author="labcoatlazuli" created="Sat, 16 Mar 2013 11:39:15 +0100"  >&lt;p&gt;Example:&lt;br/&gt;
/uses iPwnTNT 500 (assume I am holding a new iron sword)&lt;/p&gt;

&lt;p&gt;Custom setting of 267 -249 succeeded!&lt;/p&gt;

&lt;p&gt;Why -249 damage? (Or something similar)&lt;/p&gt;

&lt;p&gt;Because an iron sword usually lasts 251 uses and 251 - 500 = -249&lt;/p&gt;</comment>
                            <comment id="53958" author="labcoatlazuli" created="Sat, 16 Mar 2013 11:34:26 +0100"  >&lt;p&gt;I think just also have a command like this&lt;br/&gt;
/uses &amp;lt;player&amp;gt; &amp;lt;How many uses you want left/max/min&amp;gt;&lt;br/&gt;
Then that outputs something like&lt;/p&gt;

&lt;p&gt;Setting &amp;lt;itemid&amp;gt; &amp;lt;resultingDamageValue&amp;gt; Succeeded!&lt;br/&gt;
Then the two fields can be easily copied into a command block.&lt;/p&gt;</comment>
                            <comment id="53955" author="labcoatlazuli" created="Sat, 16 Mar 2013 11:30:08 +0100"  >&lt;p&gt;Ali, that is actually a nice idea! But what if we just want it to last a few more uses than normal?&lt;/p&gt;</comment>
                            <comment id="53712" author="alili1996" created="Fri, 15 Mar 2013 21:26:36 +0100"  >&lt;p&gt;No, that was no hint, it was more something like a suggestion!&lt;/p&gt;</comment>
                            <comment id="53711" author="captainduude" created="Fri, 15 Mar 2013 21:23:58 +0100"  >&lt;p&gt;Nope, Ali. All negative damage values won&apos;t work.&lt;/p&gt;</comment>
                            <comment id="53687" author="alili1996" created="Fri, 15 Mar 2013 20:50:04 +0100"  >&lt;p&gt;I think items with damage ID -1 should be indestructible, every other negative ID would be blocked, like this we can give them with commandblocks and it wouldn&apos;t bee too complicated to use them!&lt;/p&gt;</comment>
                            <comment id="53683" author="captainduude" created="Fri, 15 Mar 2013 20:44:12 +0100"  >&lt;p&gt;And actually, enchantments give it the glowing effect and you can&apos;t give it with Command Blocks. This fix is the exact opposite of a fix. Please find a solution to this!&lt;/p&gt;</comment>
                            <comment id="53682" author="captainduude" created="Fri, 15 Mar 2013 20:41:44 +0100"  >&lt;p&gt;Without the custom durabilities, it&apos;s breaking tons of maps. So please either get it back, or add a indestructible enchantment or tag ASAP. I really need this and tons of maps are unplayable now.&lt;/p&gt;</comment>
                            <comment id="51876" author="labcoatlazuli" created="Mon, 11 Mar 2013 21:30:38 +0100"  >&lt;p&gt;I in all honesty would support all three actually, but the negative damage values need to be implemented. This is breaking a lot of maps, and the truth is command blocks (theoretically) work forever, but dispensers (which would have to be used if the extra data idea was put as a REPLACEMENT to negative damage) don&apos;t.&lt;/p&gt;</comment>
                            <comment id="51594" author="funky3000" created="Sun, 10 Mar 2013 16:31:57 +0100"  >&lt;p&gt;I would support the boolean tag along with the enchantment, also rarely found in dungeon chests, but more rare than others. I keep losing armor not dedicated to mobs, so those pieces being indestructible would be marvelous. However, maybe as a downside so this isn&apos;t abusable in vanilla survival, is probably make it so that armor with it doesn&apos;t count to your protection? Such as if I had an indestructible Respiration and Aqua Affinity along with an indestructible Feather Falling, they would give me my water and falling buffs, but not take effect in combat. Perhaps only additives with enchantments, and only the enchantments of those affect damage and not their default armor value? Just a thought.&lt;/p&gt;</comment>
                            <comment id="50774" author="glampkoo" created="Thu, 7 Mar 2013 20:00:17 +0100"  >&lt;p&gt;Yes add the boolean indestructible tag!&lt;/p&gt;</comment>
                            <comment id="48998" author="labcoatlazuli" created="Sat, 2 Mar 2013 12:45:24 +0100"  >&lt;p&gt;Also, how hard would it be to support negative values? Most vanilla PvP maps depend on command blocks giving items that are &quot;indestructible&quot; anyway. I think most of the framework for negative values is there anyway, so it would be good for negative damage, rather than dispensers which don&apos;t work forever but give the item with a tag for example doItemdamage or something similar.&lt;/p&gt;</comment>
                            <comment id="48838" author="labcoatlazuli" created="Fri, 1 Mar 2013 22:35:25 +0100"  >&lt;p&gt;Yeah I see, but it is just a suggestion for the future. It seems the mapmakers will have to wait a bit longer...&lt;/p&gt;</comment>
                            <comment id="48821" author="anarchix04" created="Fri, 1 Mar 2013 22:05:59 +0100"  >&lt;p&gt;I have to say, that is really bad even if that fix stays for one week, that&apos;s making so much awesome maps useless and breakin my pvp map project...&lt;/p&gt;</comment>
                            <comment id="48800" author="alili1996" created="Fri, 1 Mar 2013 21:37:02 +0100"  >&lt;p&gt;But then we need to wait some months, just to work on our maps properly! And that would be bad &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="48798" author="jeb" created="Fri, 1 Mar 2013 21:35:30 +0100"  >&lt;p&gt;I&apos;ve already commented on this. Negative damage values are undefined, but we haven&apos;t bothered to change it because nobody&apos;s complained about them. Now there is a bug, and the proper fix is to remove the undefined values (otherwise we&apos;ll just keep on hunting bugs like these in the future). I&apos;ve already said that this can be compensated with an enchantment, but it can also be compensated with some kind of tag data (such as a boolean tag stating &quot;indestructible&quot;), but our focus now is to fix bugs and not add new features.&lt;/p&gt;</comment>
                            <comment id="48789" author="labcoatlazuli" created="Fri, 1 Mar 2013 21:16:32 +0100"  >&lt;p&gt;I think if we are not going to be able to have custom data values, at least have it so that they can give us items with extra data, for example, a BLUE leather chestplate enchanted with PROTECTION I. I for one would put up with this as a replacement for the negative datavalues &quot;fix&quot;. However I guess that is a feature request as well because it would make things a heck of a lot easier for PvWhatever mapmakers. I think if that were to happen then the command doing the /give with custom data would have to be MCEdited in to prevent abuse.&lt;/p&gt;</comment>
                            <comment id="48784" author="labcoatlazuli" created="Fri, 1 Mar 2013 21:11:14 +0100"  >&lt;p&gt;No offence, jeb, but I am kinda regretting reporting this now, as I seem to have completely screwed up some of my favourite maps. TF2 in Minecraft (dustbowl) map is frickin&apos; awesome by the way, Hypixel.&lt;/p&gt;</comment>
                            <comment id="48609" author="anarchix04" created="Fri, 1 Mar 2013 12:54:40 +0100"  >&lt;p&gt;Please, I started a PVP vanilla map and this little &quot;fix&quot; is just totally breaking my map, i spent a lot of time into it. Please, make so we can set the durability to negative values...&lt;/p&gt;</comment>
                            <comment id="48560" author="hypixel" created="Fri, 1 Mar 2013 06:12:41 +0100"  >&lt;p&gt;I agree with David on this one, this little change just broke all vanilla pvp and some pve maps (TF2 with SethBling and Herobrine&apos;s Mansion for example). If an enchant is added, every armors will be glowing or wouldn&apos;t be giveable via command blocks =(&lt;/p&gt;</comment>
                            <comment id="48220" author="davidj919" created="Thu, 28 Feb 2013 04:16:00 +0100"  >&lt;p&gt;I&apos;m making an adventure map and I&apos;m not too happy with this &quot;fix.&quot; I&apos;d rather not have an enchantment, because you get the glowing effect. Also, I have to change the whole entire map. Please, find another way to fix the problem!&lt;/p&gt;</comment>
                            <comment id="48039" author="labcoatlazuli" created="Wed, 27 Feb 2013 20:06:50 +0100"  >&lt;p&gt;First of all, Jeb actually saw this! That was awesome. But the damage value fix sucks really bad, just because a gold helmet and a chain helmet are the only two armor with the exact same protection values, but gold has way less durability. This is a bit of a problem. But the fact that Jeb, someone from mojang actually saw this almost makes up for it. (I say almost because I hope they will fully support custom data values) &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="48019" author="alili1996" created="Wed, 27 Feb 2013 19:01:24 +0100"  >&lt;p&gt;Will you do it for 1.5? If no, mapmakers gonna have a bad time :/&lt;/p&gt;</comment>
                            <comment id="47952" author="jeb" created="Wed, 27 Feb 2013 15:16:55 +0100"  >&lt;p&gt;Uhm... Fixed this, but probably not the way you hoped for =) I&apos;ve made it impossible to create items with negative damage values, because the behavior is undefined. Will compensate by adding some kind of &quot;indestructible&quot; enchantment for this purpose in the future.&lt;/p&gt;</comment>
                            <comment id="47366" author="labcoatlazuli" created="Sun, 24 Feb 2013 11:06:16 +0100"  >&lt;p&gt;Oh I forgot to say that, thanks.&lt;/p&gt;</comment>
                            <comment id="47306" author="unon1100" created="Sun, 24 Feb 2013 00:29:23 +0100"  >&lt;p&gt;Confirmed&lt;/p&gt;

&lt;p&gt;Also, you can not interact with the armor. It becomes a ghost item, You can&apos;t drop it in any way.&lt;/p&gt;

&lt;p&gt;If you try to move it around in your inventory in survival it will disappear.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="24285">MC-10337</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="24446">MC-10487</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="15893">MC-3750</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 26 Feb 2013 19:38: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="10305"><![CDATA[Creative]]></customfieldvalue>

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

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