<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:09:32 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-5931] Comparator isn&apos;t consistent when toggled.</title>
                <link>https://bugs.mojang.com/browse/MC-5931</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Logically all three of these should produce the same results as the formula is &quot;Output = Side - Input&quot; results in 13 - 15 = -2.&lt;/p&gt;

&lt;p&gt;However, the first one in the row acts as of it&apos;s first Comparator is an inverter more like the second screen shot (which logically is 15 - 13 = 2).&lt;/p&gt;

&lt;p&gt;Can we get clarification as to this behavior.  As this is causing a lot of folks confusing including myself. &lt;/p&gt;</description>
                <environment>Mac OS X Mountain Lion w/ Java 7</environment>
        <key id="18587">MC-5931</key>
            <summary>Comparator isn&apos;t consistent when toggled.</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="mouring">Ben Linstrom</reporter>
                        <labels>
                    </labels>
                <created>Fri, 4 Jan 2013 03:38:45 +0100</created>
                <updated>Sun, 10 Feb 2013 02:47:36 +0100</updated>
                            <resolved>Fri, 11 Jan 2013 17:24:51 +0100</resolved>
                                    <version>Snapshot 13w01a</version>
                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="32558" author="bljat" created="Fri, 4 Jan 2013 04:25:14 +0100"  >&lt;p&gt;Reopened.&lt;/p&gt;</comment>
                            <comment id="32555" author="mouring" created="Fri, 4 Jan 2013 04:12:34 +0100"  >&lt;p&gt;Accepted that one has to do a Comparator to a Comparator in this mode, but again this isn&apos;t resolve as &quot;duplicate&quot; as the other aspect of this is the math is negative which makes no sense within the context.&lt;/p&gt;

&lt;p&gt;&quot;A == Input from front.&lt;br/&gt;
B == Strongest input from side given through another comparator.&lt;br/&gt;
O == Output from back.&lt;/p&gt;

&lt;p&gt;Subtract mode (Right click):&lt;br/&gt;
O = B - A&quot;&lt;/p&gt;

&lt;p&gt;Which results in 2 for the left side, and -2 on the right.&lt;/p&gt;

&lt;p&gt;Where the negative number is throwing people.&lt;/p&gt;</comment>
                            <comment id="32541" author="bljat" created="Fri, 4 Jan 2013 03:40:56 +0100"  >&lt;p&gt;Comparator behavior in detail described by Dinnerbone in &lt;a href=&quot;https://bugs.mojang.com/browse/MC-5736&quot; title=&quot;The toggling of the comparator does nothing.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-5736&quot;&gt;&lt;del&gt;MC-5736&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="18608">MC-5951</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="18387">MC-5736</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="16811" name="2013-01-03_20.30.41.png" size="249751" author="mouring" created="Fri, 4 Jan 2013 03:38:45 +0100"/>
                            <attachment id="16812" name="2013-01-03_20.34.32.png" size="458406" author="mouring" created="Fri, 4 Jan 2013 03:38:45 +0100"/>
                            <attachment id="16815" name="2013-01-03_21.03.55.png" size="152304" author="mouring" created="Fri, 4 Jan 2013 04:12:34 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 4 Jan 2013 23:35:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <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_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00zmv:</customfieldvalue>

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