<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 15:27:04 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-20438] /execute can&apos;t detect player as the target</title>
                <link>https://bugs.mojang.com/browse/MCPE-20438</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;The /execute command can not detect player as the target.&lt;/p&gt;
&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;/execute @e ~ ~ ~ detect ~ ~-1 ~ stone -1 kill @p&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This command will kill the player (in survival mode) if any entities stand on a stone block. But in this case the player won&apos;t trigger the command, even though the player is an entity as well.&lt;br/&gt;
This problem can also be done with &lt;b&gt;@p&lt;/b&gt; as the target:&lt;/p&gt;
&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;/execute @p ~ ~ ~ detect ~ ~-1 ~ stone -1 kill @p&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
            <key id="165462">MCPE-20438</key>
            <summary>/execute can&apos;t detect player as the target</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="PlantSeed">ItsPlantseed</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Mar 2017 12:39:32 +0100</created>
                <updated>Mon, 3 Apr 2017 08:54:17 +0200</updated>
                            <resolved>Thu, 23 Mar 2017 16:00:48 +0100</resolved>
                                    <version>1.0.5.3</version>
                    <version>1.0.5.13</version>
                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                            <comments>
                            <comment id="373504" author="mega_spud" created="Thu, 23 Mar 2017 16:00:48 +0100"  >&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;Cannot Reproduce&lt;/font&gt;&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;We were unable to reproduce the problem you are describing. I&apos;m trying to work through the /execute command bugs, and I noticed that your example is trying to detect an invalid block id (&lt;em&gt;Stone -1&lt;/em&gt;).&lt;/p&gt;

&lt;p&gt;I think the issue here is the relative position not working correctly, as detailed in &lt;a href=&quot;https://bugs.mojang.com/browse/MCPE-20543&quot; title=&quot;Execute Command - Uses Wrong Player Coordinates&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MCPE-20543&quot;&gt;&lt;del&gt;MCPE-20543&lt;/del&gt;&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; 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>
                    <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_10402" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Platform</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10121"><![CDATA[ Android ]]></customfieldvalue>

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

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