<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:19:21 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-8911] Able to get pulse through a comparator by right clicking</title>
                <link>https://bugs.mojang.com/browse/MC-8911</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;I had a one tick clock going and the comparators weren&apos;t allowing a pulse to go through (which could be a bug itself), but when I repeatedly right clicked the comparator, I was able to get the pulse through as you can see in the screenshot.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Code analysis by &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=Schortan&quot; class=&quot;user-hover&quot; rel=&quot;Schortan&quot;&gt;Schortan&lt;/a&gt; can be found in &lt;a href=&quot;https://bugs.mojang.com/browse/MC-8911?focusedCommentId=411300&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-411300&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22257">MC-8911</key>
            <summary>Able to get pulse through a comparator by right clicking</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="4" iconUrl="https://bugs.mojang.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rydian">George Gates</reporter>
                        <labels>
                            <label>redstone</label>
                    </labels>
                <created>Fri, 1 Feb 2013 14:58:33 +0100</created>
                <updated>Fri, 27 Oct 2023 08:55:49 +0200</updated>
                                            <version>Snapshot 13w05b</version>
                    <version>Minecraft 1.8.8</version>
                    <version>Minecraft 15w42a</version>
                    <version>Minecraft 15w44b</version>
                    <version>Minecraft 15w47a</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 16w42a</version>
                    <version>Minecraft 1.12</version>
                    <version>Minecraft 1.12.2</version>
                    <version>Minecraft 18w20c</version>
                    <version>Minecraft 1.13-pre3</version>
                    <version>Minecraft 1.13-pre6</version>
                    <version>Minecraft 1.13-pre7</version>
                    <version>1.16.5</version>
                    <version>1.17 Pre-release 1</version>
                    <version>1.17</version>
                    <version>1.17.1</version>
                    <version>1.19.3</version>
                                                                        <votes>9</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="1235748" author="bombs_away_007" created="Mon, 6 Feb 2023 04:21:14 +0100"  >&lt;p&gt;Can confirm for 1.19.3&lt;/p&gt;</comment>
                            <comment id="1032472" author="JIRAUSER648933" created="Thu, 8 Jul 2021 21:41:25 +0200"  >&lt;p&gt;Can confirm in 1.17.1.&lt;/p&gt;</comment>
                            <comment id="1002471" author="rydian" created="Tue, 1 Jun 2021 02:01:41 +0200"  >&lt;p&gt;Still an issue in 1.17-pre2.&lt;/p&gt;</comment>
                            <comment id="1000849" author="violine1101" created="Sat, 29 May 2021 00:21:08 +0200"  >&lt;p&gt;See also &lt;a href=&quot;https://www.reddit.com/r/Mojira/comments/nmrthk/mc8911_is_still_an_issue_in_1165_and_117pre1/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.reddit.com/r/Mojira/comments/nmrthk/mc8911_is_still_an_issue_in_1165_and_117pre1/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1000825" author="rydian" created="Fri, 28 May 2021 23:28:05 +0200"  >&lt;p&gt;Still an issue in both 1.16.15 and 1.17-pre1.&lt;/p&gt;</comment>
                            <comment id="916876" author="arisabot" created="Tue, 9 Feb 2021 09:14:35 +0100"  >&lt;p&gt;This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.&lt;br/&gt;
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on &lt;a href=&quot;https://discordapp.com/invite/rpCyfKV&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Discord&lt;/a&gt; or &lt;a href=&quot;https://www.reddit.com/r/Mojira/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Reddit&lt;/a&gt;.&lt;br/&gt;
&lt;sub&gt;&lt;font color=&quot;#888&quot;&gt;&amp;#8211; I am a bot. This action was performed automatically! Please report any issues on &lt;a href=&quot;https://discordapp.com/invite/rpCyfKV&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Discord&lt;/a&gt; or &lt;a href=&quot;https://www.reddit.com/r/Mojira/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Reddit&lt;/a&gt;&lt;/font&gt;&lt;/sub&gt;&lt;/p&gt;</comment>
                            <comment id="497042" author="oval" created="Fri, 26 Oct 2018 19:18:56 +0200"  >&lt;p&gt;Is this still an issue in 1.13.2 or the latest snapshot 18w43c?&lt;/p&gt;</comment>
                            <comment id="462947" author="schortan" created="Sat, 23 Jun 2018 17:19:26 +0200"  >&lt;p&gt;Can confirm for 1.13-pre3&lt;/p&gt;</comment>
                            <comment id="411300" author="schortan" created="Fri, 6 Oct 2017 21:55:11 +0200"  >&lt;p&gt;Please link this in the description.&lt;/p&gt;

&lt;p&gt;This issue happens because in &lt;tt&gt;net.minecraft.block.BlockRedstoneComparator.onBlockActivated(World, BlockPos, IBlockState, EntityPlayer, EnumHand, EnumFacing, float, float, float)&lt;/tt&gt; the method onStateChange which checks if the comparator should be powered is called right away. Since the redstone signal stays on for 2 game ticks, there is basically a 25% chance that the player happens to activate the comparator in the 1st game tick of the signal being turned on.&lt;br/&gt;
This can be prevented by adding a check if there is an update scheduled before executing &lt;tt&gt;onStateChange&lt;/tt&gt;. That will ensure that the repeater will not let a signal through in between the ticks.&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;&lt;span class=&quot;code-comment&quot;&gt;//...
&lt;/span&gt;&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;(!worldIn.isUpdateScheduled(pos, &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;))
	onStateChange(worldIn, pos, state);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="395311" author="schortan" created="Mon, 24 Jul 2017 00:30:10 +0200"  >&lt;p&gt;Can confirm for 1.12&lt;/p&gt;</comment>
                            <comment id="336647" author="kumasasa" created="Sat, 22 Oct 2016 07:49:50 +0200"  >&lt;p&gt;Is this still an issue in the most recent versions (currently that is &lt;b&gt;1.10.2&lt;/b&gt;, or &lt;b&gt;16w42a&lt;/b&gt;) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.&lt;/p&gt;</comment>
                            <comment id="260587" author="kumasasa" created="Sun, 1 Nov 2015 15:22:07 +0100"  >&lt;p&gt;&lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=rydian&quot; class=&quot;user-hover&quot; rel=&quot;rydian&quot;&gt;rydian&lt;/a&gt;: Since you are the reporter of this ticket, you can update the affected versions by yourself.&lt;/p&gt;</comment>
                            <comment id="260584" author="rydian" created="Sun, 1 Nov 2015 15:19:22 +0100"  >&lt;p&gt;Still happening in 15w44b.&lt;/p&gt;</comment>
                            <comment id="255375" author="redstonehelper" created="Wed, 14 Oct 2015 21:02:56 +0200"  >&lt;p&gt;Reopened and gave the ticket to &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=rydian&quot; class=&quot;user-hover&quot; rel=&quot;rydian&quot;&gt;rydian&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="255319" author="rydian" created="Wed, 14 Oct 2015 19:11:18 +0200"  >&lt;p&gt;Okay so it&apos;s still happening all the way in 15w42a, and here&apos;s a gfy of the setup and results.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://gfycat.com/FrayedShadowyAustralianfurseal&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://gfycat.com/FrayedShadowyAustralianfurseal&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49903" author="rydian" created="Tue, 5 Mar 2013 07:18:55 +0100"  >&lt;p&gt;This second screenshot shows the piston responding when I right-click the second comparator, though it usually takes a few clicks to get it to happen.  It pulses really quickly so this is the best shot I got, but as you can see it did allow the signal through in 13w10a.&lt;/p&gt;</comment>
                            <comment id="49902" author="rydian" created="Tue, 5 Mar 2013 07:17:35 +0100"  >&lt;p&gt;This is a shot of a test device, a very simple redstone clock using a comparator in subtract mode feeding itself.&lt;/p&gt;</comment>
                            <comment id="49605" author="bljat" created="Mon, 4 Mar 2013 17:47:10 +0100"  >&lt;p&gt;Unable to reproduce.&lt;/p&gt;</comment>
                            <comment id="45826" author="rydian" created="Fri, 15 Feb 2013 06:26:03 +0100"  >&lt;p&gt;I was able to semi-confirm this on 13w07a, in that if a comparator is being fed a one-tick rapid pulse, it will not allow it through until it gets updated.  Some designs update the comparator and so allow the signal through, while others do not and the comparator needs a block/redstone update to start letting the signal out.&lt;/p&gt;

&lt;p&gt;Ones that worked had the comparator near other equipment that would update at the time, non-working designs (ones that needed an update) tended to have the comparator a few blocks away from the equipment sending the signal.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="25772">MC-11611</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="20556" name="2013-02-01_09.51.21.png" size="528837" author="moaky" created="Fri, 1 Feb 2013 14:58:33 +0100"/>
                            <attachment id="23479" name="screenshot-1.jpg" size="138126" author="rydian" created="Tue, 5 Mar 2013 07:17:35 +0100"/>
                            <attachment id="23480" name="screenshot-2.jpg" size="132877" author="rydian" created="Tue, 5 Mar 2013 07:18:55 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                    <customfield id="customfield_12800" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Area</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="12602"><![CDATA[Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 14 Oct 2015 22:02:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11901" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Category</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11615"><![CDATA[Redstone]]></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>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12200" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Mojang Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11703"><![CDATA[Low]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12201" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Triaged Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 8 Mar 2022 09:38:09 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>