<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:58:54 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-2743] Command block Glitch</title>
                <link>https://bugs.mojang.com/browse/MC-2743</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;The command block does not clear a certain amount of block you set it too. It will only clear ALL of the Item. Ex:&lt;/p&gt;

&lt;p&gt;/clear @p &lt;span class=&quot;error&quot;&gt;&amp;#91;ID&amp;#93;&lt;/span&gt;     -Works&lt;br/&gt;
/clear @p &lt;span class=&quot;error&quot;&gt;&amp;#91;ID&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;#&amp;#93;&lt;/span&gt; -Doesn&apos;t Work&lt;/p&gt;

&lt;p&gt;I found this bug when I was trying to make a shop on my vanilla server but I could not clear a certain amount of what I&apos;m using as currency.&lt;/p&gt;

&lt;p&gt;Please fix this Bug&lt;/p&gt;

&lt;p&gt;                                                   -Drew&lt;/p&gt;</description>
                <environment>Command block</environment>
        <key id="14516">MC-2743</key>
            <summary>Command block Glitch</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="7">Invalid</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="agbeach">Andrew Beach</reporter>
                        <labels>
                    </labels>
                <created>Sat, 10 Nov 2012 23:04:33 +0100</created>
                <updated>Wed, 15 Aug 2018 00:40:45 +0200</updated>
                            <resolved>Sun, 11 Nov 2012 01:44:13 +0100</resolved>
                                    <version>Minecraft 1.4.2</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="456176" author="sameoldred" created="Mon, 28 May 2018 08:15:07 +0200"  >&lt;p&gt;We are using 2 command blocks to clear 3 coal from @p on one command block and give 1 iron_ingot on the other but the command will still give an iron_ingot even though it only takes 1 or 2 coal, not 3.&lt;/p&gt;</comment>
                            <comment id="447289" author="mariustanghal03" created="Mon, 16 Apr 2018 16:20:09 +0200"  >&lt;p&gt;If you do /clear command with a certain value you want to clear, it&apos;s also clear item even though the certain value you chose is lower. Fo example you do /clear @p emerald 10 and you have more than 10 emerald it will only less 10 to your item but if you only have 2 and you want to clear is 10 ot should also work it will clear your 2 emerald. Not a bug&lt;/p&gt;</comment>
                            <comment id="174934" author="mlakuss" created="Wed, 16 Jul 2014 20:12:46 +0200"  >&lt;p&gt;No, if they change the /clear, it will break all old maps and operator are used to use the second parameters for the meta.&lt;/p&gt;</comment>
                            <comment id="85635" author="floedekage" created="Sun, 7 Jul 2013 22:14:39 +0200"  >&lt;p&gt;This should still be considered a bug.&lt;br/&gt;
Seeing /clear as the opposite of /give it should have the same possible arguments. So when /give have &amp;lt;name&amp;gt; &amp;lt;item&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;amount&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;meta&amp;#93;&lt;/span&gt;, /clear should likewise have &amp;lt;name&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;item&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;amount&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;meta&amp;#93;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;I strongly suggest activating this as a bug again.&lt;/p&gt;</comment>
                            <comment id="41376" author="banana478" created="Thu, 31 Jan 2013 00:53:55 +0100"  >&lt;p&gt;It&apos;s still a suggestion.&lt;/p&gt;</comment>
                            <comment id="41345" author="nathreed" created="Thu, 31 Jan 2013 00:17:13 +0100"  >&lt;p&gt;If you use /clear (block) (amount) (data) or something along those lines in game ( not from a command block, manually entered, it works fine, please reopen, I want to to something like this too!&lt;/p&gt;</comment>
                            <comment id="20703" author="bljat" created="Sun, 11 Nov 2012 16:30:38 +0100"  >&lt;p&gt;Suggestions go to &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;http://www.minecraftforum.net/forum/1-suggestions/&lt;/a&gt;. This is not a place for feature requests.&lt;/p&gt;</comment>
                            <comment id="20699" author="agbeach" created="Sun, 11 Nov 2012 16:24:16 +0100"  >&lt;p&gt;The they should find a way to clear a certain amount . It would be good for multiple uses in Minecraft. Anyways...&lt;/p&gt;

&lt;p&gt;&lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/tongue.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="20469" author="kumasasa" created="Sun, 11 Nov 2012 01:44:13 +0100"  >&lt;p&gt;Not a bug. The second value is not the amount, it is the data value AKA damage value of the item.&lt;br/&gt;
The clear command will alway clear all items of a kind.&lt;/p&gt;</comment>
                    </comments>
                    <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|i0bs6v:</customfieldvalue>

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