<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:51:25 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-552] Command block choosing wrong people / Selecting players cross-dimensional</title>
                <link>https://bugs.mojang.com/browse/MC-552</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;When using @p for command blocks (in the overworld is the only one tested), if there is no closest player (easier to do with the radius) it will take someone from the nether or the end instead.&lt;/p&gt;</description>
                <environment>64-bit Windows Vista</environment>
        <key id="11822">MC-552</key>
            <summary>Command block choosing wrong people / Selecting players cross-dimensional</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>
                                        <assignee username="dinnerbone">[Mojang] Nathan Adams</assignee>
                                    <reporter username="sudgylacmoe">David Cohoe</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Oct 2012 21:35:17 +0200</created>
                <updated>Sun, 16 Jun 2013 21:06:29 +0200</updated>
                            <resolved>Fri, 14 Jun 2013 11:50:27 +0200</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Minecraft 1.5</version>
                                    <fixVersion>Snapshot 13w24b</fixVersion>
                                                        <votes>12</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="74441" author="spetznack" created="Sun, 16 Jun 2013 21:04:21 +0200"  >&lt;p&gt;in other words, @a will select ALL players on the server but if you add one of those arguments for example &lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;@a[r=50]&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; it will only select people within that radius in that world* right? &lt;/p&gt;</comment>
                            <comment id="73524" author="dinnerbone" created="Fri, 14 Jun 2013 11:50:27 +0200"  >&lt;p&gt;Player selectors with the following arguments will ensure that the resulting player(s) are on the same world:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Range minimum&lt;/li&gt;
	&lt;li&gt;Range maximum&lt;/li&gt;
	&lt;li&gt;X coordinate&lt;/li&gt;
	&lt;li&gt;Y coordinate&lt;/li&gt;
	&lt;li&gt;Z coordinate&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="56914" author="spetznack" created="Sun, 24 Mar 2013 16:49:24 +0100"  >&lt;p&gt;Just tested for 1.4.7 and 1.5, the command blocks is still selecting players cross-dimentional. &lt;/p&gt;

&lt;p&gt;Here is the setup: &lt;a href=&quot;http://i.imgur.com/CE0q1Zb.jpg&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://i.imgur.com/CE0q1Zb.jpg&lt;/a&gt;&lt;br/&gt;
One person stood right next to the command block in Overworld and pressed it while I was in nether (I also tried in The End, same result). &lt;/p&gt;</comment>
                            <comment id="56010" author="spetznack" created="Thu, 21 Mar 2013 12:08:06 +0100"  >&lt;p&gt;@Ryan Leach &lt;br/&gt;
Sorry for not being more specific, the problem is fixed for bukkit servers now. Here is the bug-tracker:&lt;a href=&quot;https://bukkit.atlassian.net/plugins/servlet/mobile#issue/view/BUKKIT-3515&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bukkit.atlassian.net/plugins/servlet/mobile#issue/view/BUKKIT-3515&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;The problem exists in vanilla 1.4.7, I will try to start a 1.5 vanilla server and test it out with someone later today.. &lt;/p&gt;</comment>
                            <comment id="55786" author="ryan_the_leach" created="Wed, 20 Mar 2013 13:59:35 +0100"  >&lt;p&gt;&amp;gt; This problem is now fixed for craftbukkit.&lt;/p&gt;

&lt;p&gt;This is not bukkits JIRA, a fix in craftbukkit does not necessarily mean it has been fixed for vanilla.&lt;/p&gt;</comment>
                            <comment id="52748" author="bljat" created="Thu, 14 Mar 2013 04:10:19 +0100"  >&lt;p&gt;Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="41537" author="spetznack" created="Thu, 31 Jan 2013 08:09:17 +0100"  >&lt;p&gt;This problem is now fixed for craftbukkit. Commandblocks only selects players in the same world that the commandblock is in. Tested it yesterday and it works &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/smile.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="34080" author="spetznack" created="Mon, 7 Jan 2013 22:42:54 +0100"  >&lt;p&gt;the @?(search arguments) defines where the command block will search for players. &lt;br/&gt;
Basicly the &quot;@?(search arguments)&quot; will replace itself with the player(s) it found through the search parameter. &lt;/p&gt;

&lt;p&gt;so for example: &lt;br/&gt;
/spawnpoint @a(0,100,0) &lt;br/&gt;
will look like this if the search only chooses one player: (in this case me) &lt;br/&gt;
/spawnpoint spetznack&lt;/p&gt;

&lt;p&gt;adding a dimension parameter to the /command itself will not affect the way players are chosen &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; At least that&apos;s what sounds logical to me ^^ &lt;/p&gt;</comment>
                            <comment id="34077" author="itrollin98" created="Mon, 7 Jan 2013 22:26:55 +0100"  >&lt;p&gt;would it be in the parameters though? Like instead of being /tp@pd=0 0 100 0, perhaps it could be /tp @p &lt;span class=&quot;error&quot;&gt;&amp;#91;d=0&amp;#93;&lt;/span&gt; 0 100 0. Then it would fit in with all the other perameters. If you didn&apos;t put this in, like spetznack said, it would do the world that the command block is in.&lt;/p&gt;</comment>
                            <comment id="34076" author="spetznack" created="Mon, 7 Jan 2013 22:14:51 +0100"  >&lt;p&gt;That is a very good idea, although we would still want it to be default at the world the command block is in right? (not super important but it would make things easier ^^)&lt;/p&gt;</comment>
                            <comment id="29399" author="banana478" created="Wed, 19 Dec 2012 00:47:57 +0100"  >&lt;p&gt;I think a fix would be to add a dIMENSION parameter (for example, /tp @p [ d=0 ] 0 100 0).&lt;/p&gt;</comment>
                            <comment id="29393" author="victor7060" created="Wed, 19 Dec 2012 00:34:41 +0100"  >&lt;p&gt;This is a very severe issue for me! I need to be able to use large search areas for my tp commands, right now it is making people in other worlds teleport to death! Please do something to fix this issue. &lt;/p&gt;</comment>
                            <comment id="20492" author="spetznack" created="Sun, 11 Nov 2012 02:51:03 +0100"  >&lt;p&gt;This is not only a problem with /tp commands, it&apos;s the general @p that is not world sensitive, tested it out with @r and @a, it&apos;s the same with them aswell.. :/ &lt;/p&gt;</comment>
                            <comment id="20464" author="sudgylacmoe" created="Sun, 11 Nov 2012 01:32:06 +0100"  >&lt;p&gt;It also still works even if the player in the nether is thousands of blocks away from area it is searching at.&lt;/p&gt;</comment>
                            <comment id="20436" author="blacksheep_86" created="Sun, 11 Nov 2012 00:16:38 +0100"  >&lt;p&gt;Need this fixed.&lt;/p&gt;</comment>
                            <comment id="20433" author="spetznack" created="Sun, 11 Nov 2012 00:13:21 +0100"  >&lt;p&gt;How to simply replicate: &lt;br/&gt;
1. Requires two players&lt;br/&gt;
2. Make a command block at coordinate 0 100 0 in overworld&lt;br/&gt;
3. Type in this: /tp @p 0 120 0&lt;br/&gt;
4. Get 2.nd player in creative and tp him to 0 100 0 in the nether.&lt;br/&gt;
5. 1.st player should stand a couple blocks away from the command block and the activate it. &lt;/p&gt;

&lt;p&gt;What will happen: &lt;br/&gt;
Bascily the server will search the coordinates for the closest player to the search area, no matter what world he is in. &lt;/p&gt;

&lt;p&gt;With this exact command it will tp the 2.nd player from 0 100 0 to 0 120 0 even if the command block is in another world than the 2.nd player.. &lt;/p&gt;</comment>
                            <comment id="20424" author="spetznack" created="Sun, 11 Nov 2012 00:00:25 +0100"  >&lt;p&gt;Yes, I have the exact same issue with the_end, also on bukkit servers with multiverse (which enables us to create more worlds than the original 3 vanilla worlds) we are having the same problem there. :/ For me this is a BIG PROBLEM, it makes command blocks in a adventure world teleport people from survival world!! &lt;/p&gt;
</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 19 Dec 2012 01:26:00 +0100</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_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0mz2n:</customfieldvalue>

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