<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:15:36 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-7771] Comparator not updating status after reloading chunks</title>
                <link>https://bugs.mojang.com/browse/MC-7771</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;When the world unloads, often comparators pointing away from containers will continue to output their signal, even when the container becomes empty.&lt;/p&gt;

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

&lt;p&gt;1. Place a hopper 1 block above the ground.&lt;br/&gt;
2. Situate a comparator pointing away from the hopper.&lt;br/&gt;
3. Place a powered rail under the hopper.&lt;br/&gt;
4. Use redstone with an inverter to cause the hopper to activate the powered rail once the hopper is empty using the comparator as input.&lt;br/&gt;
5. Fill the hopper so that the powered rail is inactive.&lt;br/&gt;
6. Log out of the SMP server.&lt;br/&gt;
7. Log back in after 10 minutes (not sure if the duration matter).&lt;br/&gt;
8. Place a storage minecart under the hopper.&lt;/p&gt;

&lt;p&gt;When the hopper empties, one would expect the powered rail to become active, causing the minecart to move away.  Instead, due to this bug, this cannot happen unless the comparator is broken and put back.  If it is left alone, it stays powered, even when the hopper becomes empty.&lt;/p&gt;

&lt;p&gt;Possible Clues: This behavior was observed on SMP; player located greater than 1 million blocks away from spawn.&lt;/p&gt;</description>
                <environment></environment>
        <key id="20583">MC-7771</key>
            <summary>Comparator not updating status after reloading chunks</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="-1">Unassigned</assignee>
                                    <reporter username="inertia">Anthony Martin</reporter>
                        <labels>
                            <label>redstone-comparator</label>
                    </labels>
                <created>Fri, 18 Jan 2013 07:12:24 +0100</created>
                <updated>Mon, 27 Mar 2017 21:06:18 +0200</updated>
                            <resolved>Fri, 1 Mar 2013 16:54:34 +0100</resolved>
                                    <version>Snapshot 13w02b</version>
                    <version>Snapshot 13w03a</version>
                    <version>Snapshot 13w04a</version>
                    <version>Snapshot 13w05a</version>
                                    <fixVersion>Snapshot 13w09c</fixVersion>
                                                        <votes>22</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="48348" author="alili1996" created="Thu, 28 Feb 2013 17:25:29 +0100"  >&lt;p&gt;i noticed that my comparator clocks freeze if they are pointing to north/south, not if pointing to east/west!&lt;/p&gt;</comment>
                            <comment id="45407" author="mistersanderson" created="Tue, 12 Feb 2013 12:52:57 +0100"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://bugs.mojang.com/browse/MC-711&quot; title=&quot;Tile ticks of connected redstone components might be executed in the wrong order when unloading/reloading chunks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-711&quot;&gt;MC-711&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="42381" author="zipron" created="Fri, 1 Feb 2013 15:47:59 +0100"  >&lt;p&gt;&lt;a href=&quot;http://youtu.be/aKV31r30Iuc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://youtu.be/aKV31r30Iuc&lt;/a&gt; more 13w05a testings, finally found a way to 100% duplicate the glitch.&lt;/p&gt;</comment>
                            <comment id="41712" author="zipron" created="Thu, 31 Jan 2013 16:41:52 +0100"  >&lt;p&gt;Still bugged in 13w05a&lt;/p&gt;</comment>
                            <comment id="41016" author="jetbo" created="Wed, 30 Jan 2013 00:54:44 +0100"  >&lt;p&gt;Here is the working we are currently using in our server.  Create a block above the problem comparator(s) then run redstone on top of that block...turn the redstone on/off to cause an update.  This is currently being used in an autosorter for a quarry...the items are transfered by cart to a sorting system and the cart runs over a detector rail which briefly turns on a line of redstone that runs above the rows of comparators.&lt;/p&gt;</comment>
                            <comment id="40939" author="kimitsu" created="Tue, 29 Jan 2013 16:57:11 +0100"  >&lt;p&gt;@Calvin what bug are you talking about? Also, I personally don&apos;t think that solving this problem by kickstarting comparators with random block updates is a good idea. Very bad for reliability.&lt;/p&gt;</comment>
                            <comment id="40920" author="calvissuperman" created="Tue, 29 Jan 2013 15:47:33 +0100"  >&lt;p&gt;Kimitsu Desu, I was actually thinking about this last night while I couldn&apos;t sleep XD, currently they don&apos;t, but they should! It makes perfect sense to me, and it would keep everyone from abusing a really usefull bug. I hope that is added!&lt;/p&gt;</comment>
                            <comment id="40919" author="yukim77" created="Tue, 29 Jan 2013 15:45:24 +0100"  >&lt;p&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=UxaP8qtlffA&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.youtube.com/watch?v=UxaP8qtlffA&lt;/a&gt;&lt;br/&gt;
Client: Windows 8 Pro (JRE 6 Update 38 64bit)&lt;br/&gt;
Server: Fedora 14 (JRE 6 Update 38 64bit)&lt;/p&gt;</comment>
                            <comment id="40891" author="kimitsu" created="Tue, 29 Jan 2013 12:25:34 +0100"  >&lt;p&gt;Can comparators receive random block updates?&lt;/p&gt;</comment>
                            <comment id="40629" author="rydian" created="Mon, 28 Jan 2013 10:31:12 +0100"  >&lt;p&gt;I can make this happen repeatedly with command block output by moving away so the chunk unloads.  After heading back in, I need to cause a block or redstone update to the affected comparator to make it start working again.&lt;/p&gt;

&lt;p&gt;Video: &lt;a href=&quot;http://www.youtube.com/watch?v=T4D2AR-b-tI&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.youtube.com/watch?v=T4D2AR-b-tI&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40626" author="zipron" created="Mon, 28 Jan 2013 09:27:43 +0100"  >&lt;p&gt;Hmm, this is very strange, It seems that with some it works, and others it don&apos;t.. I don&apos;t get it.. But yes indeed you&apos;re right, still bugged..&lt;/p&gt;</comment>
                            <comment id="40625" author="kimitsu" created="Mon, 28 Jan 2013 09:22:41 +0100"  >&lt;p&gt;@Zipron Brendt, can&apos;t confirm. Still gets stuck for containers placed after 13w04a.&lt;/p&gt;</comment>
                            <comment id="40624" author="zipron" created="Mon, 28 Jan 2013 09:14:47 +0100"  >&lt;p&gt;Ok, I know now why it doesn&apos;t work and what to do to fix it:&lt;br/&gt;
For some reason (I realy don&apos;t know why, same happened with dropper duplication) you have to replace all containers placed before 13w04a. I did this yesterday with my 128 hoppers, and after a whole night of inactivty (server was online) It does work. Also a restart doesn&apos;t affect it anymore. It&apos;s very strange but it does work now.&lt;/p&gt;</comment>
                            <comment id="40621" author="wurzelpeter" created="Mon, 28 Jan 2013 08:45:29 +0100"  >&lt;p&gt;Can confirm. Very annoying.&lt;br/&gt;
Looks like the Same Bug as the One with the repeater back in Time.&lt;br/&gt;
If a chunk is not loaded. The comparator freezes in the state (on/off) if the chunk is kicked out of the memory.&lt;/p&gt;

&lt;p&gt;Tips to reproduce in smp:&lt;/p&gt;

&lt;p&gt;1 Build up this setup: &lt;a href=&quot;http://m.youtube.com/watch?v=pwEc8ZbWqWE&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://m.youtube.com/watch?v=pwEc8ZbWqWE&lt;/a&gt;&lt;br/&gt;
2 Throw items in the dropper at the bottom.&lt;br/&gt;
3 see the items fly.&lt;br/&gt;
4 restart the game/unload the chunks&lt;br/&gt;
5 redo step 2&lt;br/&gt;
6 if items doesn&apos;t get pushed through the dropper place a block beneath the comperators&lt;br/&gt;
7 laugh about my English ;P&lt;/p&gt;</comment>
                            <comment id="40604" author="kimitsu" created="Mon, 28 Jan 2013 07:49:45 +0100"  >&lt;p&gt;Can confirm for CSP, SMP. Always happens to me after server restart. For instance, automatic chicken egg dispenser stops shooting and just keeps collecting eggs (comparator pointing out of the dispenser persists in OFF state)&lt;/p&gt;</comment>
                            <comment id="40282" author="zipron" created="Sun, 27 Jan 2013 12:31:49 +0100"  >&lt;p&gt;&lt;a href=&quot;http://youtu.be/eckWeXK2Nck&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://youtu.be/eckWeXK2Nck&lt;/a&gt; Here you go.&lt;/p&gt;</comment>
                            <comment id="40275" author="inertia" created="Sun, 27 Jan 2013 11:30:40 +0100"  >&lt;p&gt;Thanks for going to so much trouble to try to recreate the issue, Martin.&lt;/p&gt;

&lt;p&gt;Unfortunately, the problem is indeed still present in 13w04a.  I tested the same rail/hopper configuration, even broke the comparators and placed them back, just in case that made any difference.  It did not.&lt;/p&gt;

&lt;p&gt;Lag was practically eliminated from this test because the SMP server being tested was accessed directly by the op player on the LAN, no other players were on.&lt;/p&gt;

&lt;p&gt;I did manage to simplify the steps to recreate the problem, and even confirmed a new clue: the problem may be directional.  Or direction affects it in some way.&lt;/p&gt;

&lt;p&gt;I made four pistons activated by button/comparator.  Only one of them is affected by this defect right away.  The one in my example that has problems is the one in the front left of the picture:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://imgur.com/GxfZmU2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://imgur.com/GxfZmU2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This screenshot was taken while looking North.  So the comparator being affected is the one pointing East.  But this behavior seems random.  I have another comparator affected by this defect in a completely different circuit pointing South ( the piston is triggered by a block powered from the top).&lt;/p&gt;

&lt;p&gt;Just logging out and logging back in triggers the bug, in this case.  Subsequent tests did not reveal the same issue each time, so this is highly intermittent.&lt;/p&gt;

&lt;p&gt;Also confirmed that block updates do indeed clear the problem temporarily.&lt;/p&gt;</comment>
                            <comment id="40272" author="grygrflzr" created="Sun, 27 Jan 2013 10:26:18 +0100"  >&lt;p&gt;Unable to reproduce in 13w04a, both with comparators directly pointing from the hopper or with a block in-between.&lt;br/&gt;
Teleported 10 million blocks away and logged out from SMP for several minutes, logged in and returned. The storage minecart was able to move away after it emptied out the contents of the hopper.&lt;br/&gt;
Please upload screenshots to make sure your redstone wiring is correct.&lt;/p&gt;</comment>
                            <comment id="40249" author="zipron" created="Sun, 27 Jan 2013 08:36:27 +0100"  >&lt;p&gt;I have 256 comparators in my base only for item sorting, I don&apos;t want to build 256 pistons, which will make my setup a lot larger, just for a bug which should be fixed.. I don&apos;t understand why mojang doesn&apos;t look into this one, it&apos;s a major bug.. So everyone thumb it up?&lt;/p&gt;</comment>
                            <comment id="40102" author="calvissuperman" created="Sat, 26 Jan 2013 20:41:51 +0100"  >&lt;p&gt;Best workaround for now is to essentially BUD the comparator. I place a piston right next to it conected with redstone to a buttonand when I log onto my world I hit that one button and all the pistons in my base go off and reset the non-updating comparators essentially. Really big fix though, since I&apos;m sure it won&apos;t be a problem in 1.5 :S&lt;/p&gt;</comment>
                            <comment id="39817" author="asycz" created="Fri, 25 Jan 2013 19:11:52 +0100"  >&lt;p&gt;This definitely happens in SP after chunk unloading/reloading. Every, single, time. I don&apos;t have to break comparators though, any action involving redstone update next to it fixes her up. One of my (hopefully temporary) workarounds is to trigger a signal (from either detector rail or mob falling thru tripwire) next to comparator. It does not have to actually modify comparator&apos;s state directly. In one instance I have a redstone torch placed directly above the repeater amplifying comparator signal (hopper load); said torch is operated by falling mob tripwire. The torch is shining onto repeater from top 1 block above - so it has no effect on the actual circuit but seems it works well as my train no longer waits till infinity and I&apos;ve tested it at least a dozen times now. I do similar thing at unloading station, where arriving cart triggers a signal (just a wire will do) running in the vicinity of the comparator.&lt;/p&gt;

&lt;p&gt;One thing I noticed that the comparator attached directly to hopper/chest etc works fine. Trouble for me seems to be with comparators attached via block.&lt;/p&gt;</comment>
                            <comment id="39047" author="norbertcolon" created="Tue, 22 Jan 2013 10:37:17 +0100"  >&lt;p&gt;It effects comparators on chests, droppers etc as well. Every time I log back into my SMP server I have to break and replace a most of the comparators as they&apos;re disabled. It&apos;s a race to get to my item sorter before it gets swamped by items!&lt;/p&gt;</comment>
                            <comment id="38995" author="acelegend90" created="Tue, 22 Jan 2013 00:58:11 +0100"  >&lt;p&gt;This does not happen in SP as far as I have tested. Pointing a comparator at an existing one does not solve the situation as it seems comparators stop updating the blocks in front of them for whatever reason.&lt;/p&gt;</comment>
                            <comment id="38825" author="zipron" created="Mon, 21 Jan 2013 12:37:18 +0100"  >&lt;p&gt;I actually though SP and SMP were the same? you could point another comperator to the once you need for sorting machines, however they could also get stuck..&lt;/p&gt;</comment>
                            <comment id="38489" author="acelegend90" created="Sun, 20 Jan 2013 10:17:29 +0100"  >&lt;p&gt;I have tested this extensively, it happens most of the time, and it happens the moment you log off and back on. Any workarounds for an item sorter on SMP?&lt;/p&gt;</comment>
                            <comment id="38384" author="jetbo" created="Sat, 19 Jan 2013 22:58:03 +0100"  >&lt;p&gt;This bug has also happened to me, but I was standing literally right next to the comparator&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="20659">MC-7846</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="20691">MC-7874</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="21235">MC-8317</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="21629">MC-8667</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="21633">MC-8670</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="11989">MC-711</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>Thu, 31 Jan 2013 00:44:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10302"><![CDATA[Community Consensus]]></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="10304"><![CDATA[Survival]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0j12n:</customfieldvalue>

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