<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:30:03 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-12175] /testfor &lt;Dummy Player&gt; not working</title>
                <link>https://bugs.mojang.com/browse/MC-12175</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;After creating a &quot;Dummy Player&quot; by doing /scoreboard players set Blue Lives 30 I cannot use the /testfor command to check its score. /testfor Blue&lt;span class=&quot;error&quot;&gt;&amp;#91;score_Lives=0&amp;#93;&lt;/span&gt; always outputs false.&lt;/p&gt;</description>
                <environment>Windows 7 PC</environment>
        <key id="26916">MC-12175</key>
            <summary>/testfor &lt;Dummy Player&gt; not working</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>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="nickpops98">Nick Donaldson</reporter>
                        <labels>
                    </labels>
                <created>Sun, 17 Mar 2013 02:44:51 +0100</created>
                <updated>Sun, 24 Mar 2013 05:22:03 +0100</updated>
                            <resolved>Sun, 17 Mar 2013 07:38:31 +0100</resolved>
                                    <version>Minecraft 1.5</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="56801" author="nickpops98" created="Sun, 24 Mar 2013 05:22:03 +0100"  >&lt;p&gt;Yeah i could but it would be good to have a way to keep track of a score for a team not an individual player for pvp maps and stuff.&lt;/p&gt;</comment>
                            <comment id="56360" author="banana478" created="Fri, 22 Mar 2013 19:34:32 +0100"  >&lt;p&gt;You can just set the counter on your own player, can&apos;t you?&lt;/p&gt;</comment>
                            <comment id="56258" author="nickpops98" created="Fri, 22 Mar 2013 09:17:48 +0100"  >&lt;p&gt;Is there any way to test for a player that does not exist.&lt;br/&gt;
The &quot;Blue&quot; player is not a team or a player it is just a score counter pretty much but there is no way to check the score of a score counter that is not a real player.&lt;/p&gt;</comment>
                            <comment id="56256" author="kumasasa" created="Fri, 22 Mar 2013 08:30:00 +0100"  >&lt;p&gt;You can &lt;b&gt;either&lt;/b&gt; use a username &lt;b&gt;or&lt;/b&gt; a target selector.&lt;/p&gt;

&lt;p&gt;This is invalid:&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;/testfor Blue[score_lives=0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;This is valid:&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;/testfor @p[score_lives=0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; </comment>
                            <comment id="56240" author="nickpops98" created="Fri, 22 Mar 2013 07:58:13 +0100"  >&lt;p&gt;Creating Dummy Player Command&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;/scoreboard players set Blue Lives 30
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;Test Dummy Player Lives Command &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;/testfor Blue[score_lives=0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;PS: The player &quot;Blue&quot; is NOT on the server but command blocks enable me to create this player for &quot;Dummy&quot; purposes&lt;/p&gt;</comment>
                            <comment id="55754" author="kumasasa" created="Wed, 20 Mar 2013 07:17:45 +0100"  >&lt;p&gt;Please attach the command that testing commandblock.&lt;/p&gt;</comment>
                            <comment id="55752" author="nickpops98" created="Wed, 20 Mar 2013 07:02:23 +0100"  >&lt;p&gt;No, you don&apos;t get what I&apos;m saying with the /scoreboard command  can create a player that does not actually exist. The player called &quot;Blue&quot; is not actually on the server but you can still make it show up on the scoreboard. But when i try to /testfor this &quot;Dummy Player&quot; it always returns false.&lt;/p&gt;</comment>
                            <comment id="54399" author="kumasasa" created="Sun, 17 Mar 2013 07:38:03 +0100"  >&lt;p&gt;You can either use a username or a target selector.&lt;br/&gt;
The command should be&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;testfor @p[score_Lives=10]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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_10501" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Game Mode</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Creative]]></customfieldvalue>

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

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