<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:30:31 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-12315] Comparator will not distinguish between 3 and 4 items in a brewing stand</title>
                <link>https://bugs.mojang.com/browse/MC-12315</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Since the &quot;fix&quot; that made comparators able to recognize full stacks of items in the brewing stand (&lt;a href=&quot;https://bugs.mojang.com/browse/MC-7058&quot; title=&quot;Brewing stand comparator output inconsistent&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-7058&quot;&gt;&lt;del&gt;MC-7058&lt;/del&gt;&lt;/a&gt;), the comparator can no longer recognize the difference between a brewing stand with a brewing ingredient in it and one without. Obviously this ability to recognize if there is an ingredient in the brewing stand is essential to pretty much any redstone work that includes brewing stands and comparators...&lt;/p&gt;

&lt;p&gt;How to recreate:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Put 3 water bottles in a brewing stand.&lt;/li&gt;
	&lt;li&gt;Place a comparator next to the brewing stand, facing away from the brewing stand, and extend a line of redstone from the output of the comparator.
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;The output will be 11.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Place a single brewing ingredient in the top slot of the stand.
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;The output will still be 11.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Continue adding more of the brewing ingredient to the top slot until the output increases.
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;The output will not increase until you have 10 ingredients in the stand.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="27147">MC-12315</key>
            <summary>Comparator will not distinguish between 3 and 4 items in a brewing stand</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="searge">[Mojang] Searge (Michael Stoyke)</assignee>
                                    <reporter username="2010dmrb">Mathias pedersen</reporter>
                        <labels>
                            <label>brewing</label>
                            <label>redstone-comparator</label>
                    </labels>
                <created>Mon, 18 Mar 2013 19:37:17 +0100</created>
                <updated>Mon, 27 Mar 2017 21:07:27 +0200</updated>
                            <resolved>Tue, 29 Jul 2014 16:58:04 +0200</resolved>
                                    <version>Snapshot 13w11a</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w05b</version>
                    <version>Minecraft 14w06b</version>
                    <version>Minecraft 14w07a</version>
                    <version>Minecraft 14w08a</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 1.7.9</version>
                    <version>Minecraft 14w20b</version>
                    <version>Minecraft 14w21a</version>
                    <version>Minecraft 14w21b</version>
                                                                        <votes>9</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="159429" author="torabi" created="Fri, 23 May 2014 15:37:47 +0200"  >&lt;p&gt;This is consistent with the signal strength produced by other containers. Water bottles cannot stack,, so when they are put in the bottom slots, they each contribute 3.5 to the signal strength, because there are a total of 4 slots. All of the brewing ingredients, however, stack to 64, so each one only contributes .05 signal strength, thus requiring 10 of them to reach the .5 signal strength necessary to push the 11.5 produced by 3 water bottles over to 12.&lt;/p&gt;

&lt;p&gt;For reference, the comparator function is found &lt;a href=&quot;http://minecraft.gamepedia.com/Comparator#As_an_inventory_contents_checker&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;:&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;signal strength = truncate(1 + ((sum of all slots&apos; fullnesses) / number of slots in container) * 14)
fullness of a slot = (number of items in slot) / (max stack size &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; type of item)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So it is likely this is Working As Intended, despite how little useful information the comparator provides in this situation. For this to be changed, either the general container output function would have to change (unlikely to happen, because it works well with other containers), or the brewing stand would have to use a special output function (like the Jukebox, End Portal Frame, Cauldron, Item Frame, and Command Block).&lt;/p&gt;</comment>
                            <comment id="144594" author="kruoli" created="Tue, 4 Mar 2014 23:22:30 +0100"  >&lt;p&gt;It does also occur on both &lt;b&gt;14w08a&lt;/b&gt; and &lt;b&gt;1.7.5&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="77877" author="nuclear_turkey" created="Thu, 27 Jun 2013 19:24:29 +0200"  >&lt;p&gt;this is still a bug in 1.6 pre-release , the way round the comparator not detecting if potions are brewed or not would be to see if the top slot had an item in (one as once its gone the brewing will stop) , sadly this doesnt update the comparator either, as it takes 10 items in the top slot for the comparator to change its signal strength which means the only way to do 100% auto brewing is with clocks, whcih i have done and can get over 2000 potions an hour but they are quite large 10h by 20w by 10L and cause lag for some people i have shown it to ;(&lt;/p&gt;</comment>
                            <comment id="64755" author="quarg" created="Fri, 3 May 2013 01:10:22 +0200"  >&lt;p&gt;The simplest soloution would be reducing the maximum stack sise for the brewing stand ingredient, since that was what caused the need for the &apos;fix&apos; in the first place.&lt;/p&gt;</comment>
                            <comment id="55820" author="2010dmrb" created="Wed, 20 Mar 2013 16:44:54 +0100"  >&lt;p&gt;I would not really call this a feature request since this mechanism already was implemented in the game before they accedently broke it trying to fix something else. &lt;/p&gt;</comment>
                            <comment id="55608" author="banana478" created="Tue, 19 Mar 2013 22:27:24 +0100"  >&lt;p&gt;Confirmed in 1.5.1, but I feel like this is more of a feature request than a bug.&lt;/p&gt;</comment>
                            <comment id="55525" author="tyshka" created="Tue, 19 Mar 2013 19:39:16 +0100"  >&lt;p&gt;Confirm. Basically, there is no way to detect the moment when potions are ready using comparators now, making it really hard to build auto-brewing machines. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="30772">MC-15087</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="19836">MC-7058</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 23 May 2014 15:15: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_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|i0kosf:</customfieldvalue>

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