<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 15:27:29 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-20543] Execute Command - Uses Wrong Player Coordinates</title>
                <link>https://bugs.mojang.com/browse/MCPE-20543</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;When using the /execute command with coordinates, the relative coordinates start from the wrong place, ie the players head (or top half) rather than the feet.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What I expected to happen:&lt;/b&gt;&lt;br/&gt;
This command should detect that a player is standing on a stone block: &lt;font color=&quot;red&quot;&gt;/execute @p ~ ~ ~ detect ~ ~-1 ~ stone 0 kill @p&lt;/font&gt;  (&quot;-1&quot; is one below the player)&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What actually happened:&lt;/b&gt;&lt;br/&gt;
However only this command works: &lt;font color=&quot;red&quot;&gt;/execute @p ~ ~ ~ detect ~ ~-2 ~ stone 0 kill @p&lt;/font&gt; - Which means the relative position is starting from the wrong place (ie the head not the feet)&lt;/p&gt;


&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Standing on the ground (grass), use the command &lt;font color=&quot;red&quot;&gt;/setblock ~ ~-1 ~ stone&lt;/font&gt;, it places a stone block directly under your feet&lt;/li&gt;
	&lt;li&gt;Now use the command &lt;font color=&quot;red&quot;&gt;/execute @p ~ ~ ~ detect ~ ~-1 ~ stone 0 kill @p&lt;/font&gt;, nothing happens&lt;/li&gt;
	&lt;li&gt;Now try &lt;font color=&quot;red&quot;&gt;/execute @p ~ ~ ~ detect ~ ~-2 ~ stone 0 kill @p&lt;/font&gt;  - It detects the stone block underneath you and executes the /kill command&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Edit: Added test world, uses &quot;/give diamond&quot; instead of /kill&lt;/p&gt;
</description>
            <key id="165791">MCPE-20543</key>
            <summary>Execute Command - Uses Wrong Player Coordinates</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="Mega_Spud">[Mojang] Mega_Spud (Jay Wells)</reporter>
                        <labels>
                            <label>/execute</label>
                            <label>command</label>
                            <label>coordinates</label>
                    </labels>
                <created>Thu, 23 Mar 2017 15:42:34 +0100</created>
                <updated>Sun, 30 Apr 2017 04:01:05 +0200</updated>
                            <resolved>Sun, 30 Apr 2017 04:01:05 +0200</resolved>
                                    <version>1.0.5.13</version>
                    <version>1.1.0.0</version>
                                    <fixVersion>1.1.0.9</fixVersion>
                                                        <votes>3</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="375911" author="tdavid65" created="Mon, 3 Apr 2017 23:19:58 +0200"  >&lt;p&gt;The command causes much lag&lt;/p&gt;</comment>
                            <comment id="373503" author="mega_spud" created="Thu, 23 Mar 2017 15:58:23 +0100"  >&lt;p&gt;Added world download showcasing the bug.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="166986">MCPE-20891</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="149611">MCPE-17091</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="165393">MCPE-20413</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="168742">MCPE-21362</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="135397" name="execute command.mcworld" size="57759" author="Mega_Spud" created="Thu, 23 Mar 2017 15:58:23 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 3 Apr 2017 08:57: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_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|i0e9xb:</customfieldvalue>

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