<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:23:50 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-10279] /testfor @a[c=x] does not seem to function properly?</title>
                <link>https://bugs.mojang.com/browse/MC-10279</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;I&apos;m not sure if either I&apos;m not understanding the complete function of count or if it is busted. What I try is to check to see if there are more than 1 player on the server or in the case of an area. I couldn&apos;t get this to work properly when checking an area &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 @a[x=72,7=64,z=80,r=3,c=2]&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;so I tested it for all on the server. &lt;/p&gt;

&lt;p&gt;If I have it set to testfor count=2 &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 @a[c=2] &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; when I&apos;m the only player on, the comparator still outputs a signal. I would expect this to NOT send out a signal as the players on is 1, not 2.&lt;/p&gt;</description>
                <environment></environment>
        <key id="24221">MC-10279</key>
            <summary>/testfor @a[c=x] does not seem to function properly?</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="6">Works As Intended</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="pythros">Josiah</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Feb 2013 17:05:48 +0100</created>
                <updated>Mon, 25 Feb 2013 20:24:05 +0100</updated>
                            <resolved>Mon, 25 Feb 2013 20:19:58 +0100</resolved>
                                    <version>Snapshot 13w07a</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="47591" author="pythros" created="Mon, 25 Feb 2013 20:24:05 +0100"  >&lt;p&gt;So you are telling me it doesn&apos;t matter what c= is then? It will always output the signal strength based on players located? Then what is with -1 as stated in the wiki? &lt;blockquote&gt;&lt;p&gt;Number of players. If negative, uses players from the end of the list first.&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;</comment>
                            <comment id="47590" author="bljat" created="Mon, 25 Feb 2013 20:19:58 +0100"  >&lt;p&gt;The redstone strenght of the output of the comparator is your player count.&lt;/p&gt;</comment>
                            <comment id="47582" author="ezekielelin" created="Mon, 25 Feb 2013 19:03:51 +0100"  >&lt;p&gt;If you want to test for more than one player on the server, you should be able to do &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 @a
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;which will output the # of players online.&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_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00j07:</customfieldvalue>

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