<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 15:35:48 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-22666] Can&apos;t use &apos;CanPlaceOn&apos; and &apos;CanDestroy&apos; commands</title>
                <link>https://bugs.mojang.com/browse/MCPE-22666</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;I try to use the command for few day and it didn&apos;t work. It&apos;s always said &apos;Invalid Commands Syntax&apos;&lt;/p&gt;</description>
            <key id="173492">MCPE-22666</key>
            <summary>Can&apos;t use &apos;CanPlaceOn&apos; and &apos;CanDestroy&apos; commands</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>
                                            <reporter username="WaddaKei">WaddaKei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Jun 2017 07:02:42 +0200</created>
                <updated>Thu, 23 May 2019 14:59:23 +0200</updated>
                            <resolved>Thu, 15 Jun 2017 17:12:01 +0200</resolved>
                                    <version>1.1.1.0</version>
                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                            <comments>
                            <comment id="550148" author="face" created="Thu, 23 May 2019 14:58:41 +0200"  >
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/give @p concretepowder 3 10 {&lt;span class=&quot;code-quote&quot;&gt;&quot;minecraft:can_place_on&quot;&lt;/span&gt;:

{&lt;span class=&quot;code-quote&quot;&gt;&quot;blocks&quot;&lt;/span&gt;:[&lt;span class=&quot;code-quote&quot;&gt;&quot;minecraft:concrete 5&quot;&lt;/span&gt;]}
}


&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;/give @p concretepowder 3 10 {&quot;minecraft:can_place_on&quot;:&lt;/p&gt;
{&quot;blocks&quot;:[&quot;minecraft:concrete 5&quot;]}
&lt;p&gt;}&lt;/p&gt;</comment>
                            <comment id="388890" author="waddakei" created="Thu, 15 Jun 2017 17:18:18 +0200"  >&lt;p&gt;Okay. Thank you for your support. No one tell me about that so... I don&apos;t know but thanks&lt;/p&gt;</comment>
                            <comment id="388889" author="JIRAUSER71590" created="Thu, 15 Jun 2017 17:11:57 +0200"  >&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;{&lt;span class=&quot;code-quote&quot;&gt;&quot;minecraft:can_place_on&quot;&lt;/span&gt;:{&lt;span class=&quot;code-quote&quot;&gt;&quot;blocks&quot;&lt;/span&gt;:[&lt;span class=&quot;code-quote&quot;&gt;&quot;minecraft:diamond_block&quot;&lt;/span&gt;]}}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;PC&apos;s NBT is not the same as BC&apos;s components.&lt;/p&gt;

&lt;p&gt;Edit: blocks, not block&lt;/p&gt;</comment>
                            <comment id="388888" author="waddakei" created="Thu, 15 Jun 2017 17:09:55 +0200"  >&lt;p&gt;The command&lt;br/&gt;
/give &amp;lt;player name&amp;gt; &amp;lt;item&amp;gt; &amp;lt;amount&amp;gt; &amp;lt;data&amp;gt; &lt;/p&gt;
{&quot;canplaceon&quot;:[&quot;block&quot;]}
&lt;p&gt;.&lt;br/&gt;
Example: /give @p redstone_torch 1 0 &lt;/p&gt;
{&quot;canplaceon&quot;:[&quot;diamond_block&quot;]}
&lt;p&gt;Is there anything wrong? Just let me know if I do something wrong. &lt;/p&gt;</comment>
                            <comment id="388886" author="JIRAUSER71590" created="Thu, 15 Jun 2017 17:01:32 +0200"  >&lt;p&gt;What is the command you used?&lt;/p&gt;</comment>
                            <comment id="388885" author="waddakei" created="Thu, 15 Jun 2017 16:52:18 +0200"  >&lt;p&gt;I did it, but it not work. Maybe the command has a different form from PC version? If not then I&apos;m sure it&apos;s a bug&lt;/p&gt;</comment>
                            <comment id="388857" author="joelabhishek" created="Thu, 15 Jun 2017 12:33:50 +0200"  >&lt;p&gt;It does work the syntax on mcpe is different than on PC and you must not use capital letters&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_11300" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>Operating System Version</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Android 6.0.1</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10402" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Platform</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10709"><![CDATA[Phone - Android - Samsung Galaxy S5 Mini]]></customfieldvalue>

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

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