<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 15:29:11 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-20981] /fill replace doesn&apos;t work when metadata for replace isn&apos;t specified</title>
                <link>https://bugs.mojang.com/browse/MCPE-20981</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;In flat world, the command &quot;/fill 0 6 0 20 6 20 glass 0 replace air&quot; doesn&apos;t work, it just shows: Invalid syntax&lt;/p&gt;</description>
            <key id="167250">MCPE-20981</key>
            <summary>/fill replace doesn&apos;t work when metadata for replace isn&apos;t specified</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="Cappie">John</reporter>
                        <labels>
                            <label>/fill</label>
                            <label>command</label>
                    </labels>
                <created>Wed, 5 Apr 2017 19:03:45 +0200</created>
                <updated>Mon, 14 Aug 2017 15:48:18 +0200</updated>
                            <resolved>Mon, 14 Aug 2017 15:48:18 +0200</resolved>
                                    <version>1.1.0.0</version>
                    <version>1.1.0.1</version>
                    <version>1.1.0.9</version>
                    <version>1.1.2.50</version>
                    <version>1.1.3.1</version>
                                    <fixVersion>1.2.0.11</fixVersion>
                                                        <votes>5</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="393900" author="farmervillager" created="Thu, 13 Jul 2017 06:17:13 +0200"  >&lt;p&gt;@Katie Heart, &lt;b&gt;Entering -1 data value for the air won&apos;t work&lt;/b&gt;. Example: /execute @e&lt;span class=&quot;error&quot;&gt;&amp;#91;type=arrow.skeleton&amp;#93;&lt;/span&gt; ~ ~ ~ detect ~ ~-1 ~ air -1 fill ~4 ~6 ~4 ~-4 ~ ~-4 air 0 destroy&lt;/p&gt;

&lt;p&gt;this command won&apos;t work and when I enter this command in the command block and try to execute it, it says &quot;invalid command&quot;. &lt;b&gt;Before I update MCPE to 1.1.3 this command still work on my iPad Air 2&lt;/b&gt;. Fix it quick my world need commands!&lt;/p&gt;</comment>
                            <comment id="387405" author="ctrlaltcuteness" created="Wed, 7 Jun 2017 19:53:48 +0200"  >&lt;p&gt;Commenting on the part on why the data value is useful to not be included:&lt;/p&gt;

&lt;p&gt;If someone, including custom map creators, wanted to replace all wool blocks in the affected with a different block (even air), they would have to do so currently by at least one command block per data value (16 if using all the colors) and then more logic if they need some execution to happen &lt;b&gt;if&lt;/b&gt; any wool block was replaced (conditional part of a chained command block).&lt;/p&gt;

&lt;p&gt;If you do keep it required, maybe have -1 be a wildcard for the data value of the block to replace?&lt;/p&gt;</comment>
                            <comment id="381196" author="zebulanstanphill@gmail.com" created="Wed, 3 May 2017 21:21:03 +0200"  >&lt;p&gt;Revised title to be more descriptive.&lt;/p&gt;</comment>
                            <comment id="376583" author="mega_spud" created="Thu, 6 Apr 2017 23:37:14 +0200"  >&lt;p&gt;Reopening this issue, as the command should work without the data value at the end.&lt;/p&gt;</comment>
                            <comment id="376284" author="mega_spud" created="Wed, 5 Apr 2017 19:32:32 +0200"  >&lt;p&gt;&lt;b&gt;Thank you for your report!&lt;/b&gt;&lt;br/&gt;
However, this issue has been closed as &lt;b&gt;&lt;font color=&quot;#FF5722&quot;&gt;Working as Intended&lt;/font&gt;&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Remember not all differences between game versions/platforms of Minecraft are bugs.  &lt;/p&gt;

&lt;p&gt;You need to add a data value for the &apos;air&apos;, just as you did for the glass.  This command should work then (replace the tildes for your chosen coordinates): &lt;br/&gt;
&lt;font color=&quot;red&quot;&gt;/fill ~ ~ ~ ~ ~ ~ glass 0 replace air 0&lt;/font&gt; &lt;/p&gt;

&lt;p&gt;If you need help or have a suggestion you might like to follow the community support link below.&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; 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; 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; 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; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Game Wiki&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="172647">MCPE-22420</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="173012">MCPE-22510</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="174070">MCPE-22896</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="174264">MCPE-22981</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="174609">MCPE-23066</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11500" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>ADO</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>63373</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 27 Jun 2017 10:42: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>Android 5.1</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10402" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Platform</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10751"><![CDATA[Tablet - Android - Lenovo A7]]></customfieldvalue>

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

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