<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:52:49 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-957] Powered rails do not update when additional power sources are added or removed</title>
                <link>https://bugs.mojang.com/browse/MC-957</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Thebug&quot;&gt;&lt;/a&gt;The bug&lt;/h3&gt;
&lt;p&gt;Powered rails do not update when additional power sources are added or removed.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Howtoreproduce&quot;&gt;&lt;/a&gt;How to reproduce&lt;/h3&gt;
&lt;ol&gt;
	&lt;li&gt;Build the setup as shown in the attachment below (&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://bugs.mojang.com/secure/attachment/444977/444977_setup.png&quot; title=&quot;setup.png attached to MC-957&quot;&gt;setup.png&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://bugs.mojang.com/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;)&lt;/li&gt;
	&lt;li&gt;Place a redstone block on top of the diamond block&lt;/li&gt;
	&lt;li&gt;Take note of how many powered rails are activated&lt;/li&gt;
	&lt;li&gt;Place a redstone block on top of the emerald block&lt;/li&gt;
	&lt;li&gt;Once again, take note of how many powered rails are activated&lt;/li&gt;
	&lt;li&gt;Take note as to whether or not powered rails update when additional power sources are added or removed&lt;br/&gt;
&#8594; &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/error.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; Powered rails do not update when additional power sources are added or removed&lt;/li&gt;
&lt;/ol&gt;


&lt;h3&gt;&lt;a name=&quot;Expectedbehavior&quot;&gt;&lt;/a&gt;Expected behavior&lt;/h3&gt;
&lt;p&gt;Powered rails would update when additional power sources are added or removed.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Codeanalysis&quot;&gt;&lt;/a&gt;Code analysis&lt;/h3&gt;
&lt;p&gt;Code analysis by &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=ISRosillo14&quot; class=&quot;user-hover&quot; rel=&quot;ISRosillo14&quot;&gt;ISRosillo14&lt;/a&gt; can be found in &lt;a href=&quot;https://bugs.mojang.com/browse/MC-957?focusedId=1247362&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1247362&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12254">MC-957</key>
            <summary>Powered rails do not update when additional power sources are added or removed</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="1" iconUrl="https://bugs.mojang.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Avoma">[Mod] Avoma</reporter>
                        <labels>
                            <label>power</label>
                            <label>powered_rail</label>
                            <label>rails</label>
                            <label>redstone</label>
                            <label>update</label>
                            <label>update-failure</label>
                    </labels>
                <created>Sun, 28 Oct 2012 01:26:21 +0200</created>
                <updated>Sat, 7 Dec 2024 14:33:24 +0100</updated>
                                            <version>Minecraft 1.4.1</version>
                    <version>Minecraft 1.4.2</version>
                    <version>Snapshot 12w49a</version>
                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w02b</version>
                    <version>Snapshot 13w09c</version>
                    <version>Snapshot 13w10a</version>
                    <version>Minecraft 1.5</version>
                    <version>Snapshot 13w11a</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Snapshot 13w18b</version>
                    <version>Snapshot 13w18c</version>
                    <version>Minecraft 1.6.1</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w03b</version>
                    <version>Minecraft 14w05b</version>
                    <version>Minecraft 14w06b</version>
                    <version>Minecraft 14w07a</version>
                    <version>Minecraft 14w08a</version>
                    <version>Minecraft 14w11b</version>
                    <version>Minecraft 1.7.9</version>
                    <version>Minecraft 14w18b</version>
                    <version>Minecraft 14w19a</version>
                    <version>Minecraft 1.7.10</version>
                    <version>Minecraft 14w27b</version>
                    <version>Minecraft 14w32d</version>
                    <version>Minecraft 14w33c</version>
                    <version>Minecraft 14w34a</version>
                    <version>Minecraft 14w34b</version>
                    <version>Minecraft 14w34c</version>
                    <version>Minecraft 14w34d</version>
                    <version>Minecraft 1.8-pre1</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 1.8.1-pre3</version>
                    <version>Minecraft 1.8.6</version>
                    <version>Minecraft 1.8.8</version>
                    <version>Minecraft 15w31c</version>
                    <version>Minecraft 15w36d</version>
                    <version>Minecraft 15w44b</version>
                    <version>Minecraft 1.8.9</version>
                    <version>Minecraft 15w51b</version>
                    <version>Minecraft 16w03a</version>
                    <version>Minecraft 1.9 Pre-Release 1</version>
                    <version>Minecraft 1.9 Pre-Release 3</version>
                    <version>Minecraft 1.9.1</version>
                    <version>Minecraft 1.9.2</version>
                    <version>Minecraft 16w14a</version>
                    <version>Minecraft 1.10</version>
                    <version>Minecraft 1.10.1</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 16w32a</version>
                    <version>Minecraft 16w32b</version>
                    <version>Minecraft 16w33a</version>
                    <version>Minecraft 16w35a</version>
                    <version>Minecraft 16w41a</version>
                    <version>Minecraft 1.11.2</version>
                    <version>Minecraft 17w06a</version>
                    <version>Minecraft 17w18b</version>
                    <version>Minecraft 1.12 Pre-Release 1</version>
                    <version>Minecraft 1.12 Pre-Release 2</version>
                    <version>Minecraft 1.12 Pre-Release 6</version>
                    <version>Minecraft 1.12.1 Pre-Release 1</version>
                    <version>Minecraft 1.12.1</version>
                    <version>Minecraft 1.12.2</version>
                    <version>Minecraft 17w43a</version>
                    <version>Minecraft 17w43b</version>
                    <version>Minecraft 18w03b</version>
                    <version>Minecraft 1.13-pre1</version>
                    <version>Minecraft 1.13-pre3</version>
                    <version>Minecraft 1.13-pre4</version>
                    <version>Minecraft 1.13-pre5</version>
                    <version>Minecraft 1.13-pre6</version>
                    <version>Minecraft 1.13-pre7</version>
                    <version>Minecraft 1.13-pre8</version>
                    <version>Minecraft 1.13-pre9</version>
                    <version>Minecraft 1.13-pre10</version>
                    <version>Minecraft 1.13</version>
                    <version>Minecraft 18w30a</version>
                    <version>Minecraft 18w30b</version>
                    <version>Minecraft 18w31a</version>
                    <version>Minecraft 18w32a</version>
                    <version>Minecraft 18w33a</version>
                    <version>Minecraft 1.13.1</version>
                    <version>Minecraft 1.13.2-pre1</version>
                    <version>Minecraft 1.13.2-pre2</version>
                    <version>Minecraft 1.13.2</version>
                    <version>Minecraft 18w47b</version>
                    <version>Minecraft 18w48a</version>
                    <version>Minecraft 18w48b</version>
                    <version>Minecraft 18w49a</version>
                    <version>Minecraft 18w50a</version>
                    <version>Minecraft 19w02a</version>
                    <version>Minecraft 19w03a</version>
                    <version>Minecraft 19w03b</version>
                    <version>Minecraft 19w03c</version>
                    <version>Minecraft 19w04a</version>
                    <version>Minecraft 19w04b</version>
                    <version>Minecraft 19w05a</version>
                    <version>Minecraft 19w06a</version>
                    <version>Minecraft 19w07a</version>
                    <version>Minecraft 19w08b</version>
                    <version>Minecraft 19w09a</version>
                    <version>Minecraft 19w11a</version>
                    <version>Minecraft 19w11b</version>
                    <version>Minecraft 19w12a</version>
                    <version>Minecraft 19w12b</version>
                    <version>Minecraft 19w13a</version>
                    <version>Minecraft 19w13b</version>
                    <version>Minecraft 19w14a</version>
                    <version>Minecraft 19w14b</version>
                    <version>Minecraft 1.14 Pre-Release 1</version>
                    <version>Minecraft 1.14 Pre-Release 2</version>
                    <version>Minecraft 1.14 Pre-Release 3</version>
                    <version>Minecraft 1.14 Pre-Release 5</version>
                    <version>Minecraft 1.14</version>
                    <version>Minecraft 1.14.1 Pre-Release 1</version>
                    <version>Minecraft 1.14.1 Pre-Release 2</version>
                    <version>Minecraft 1.14.1</version>
                    <version>Minecraft 1.14.2 Pre-Release 1</version>
                    <version>Minecraft 1.14.2 Pre-Release 2</version>
                    <version>Minecraft 1.14.2 Pre-Release 3</version>
                    <version>Minecraft 1.14.2 Pre-Release 4</version>
                    <version>Minecraft 1.14.2</version>
                    <version>Minecraft 1.14.3 Pre-Release 1</version>
                    <version>Minecraft 1.14.3 Pre-Release 2</version>
                    <version>Minecraft 1.14.3 Pre-Release 3</version>
                    <version>Minecraft 1.14.3 Pre-Release 4</version>
                    <version>Minecraft 1.14.3</version>
                    <version>Minecraft 1.14.4 Pre-Release 1</version>
                    <version>Minecraft 1.14.4 Pre-Release 2</version>
                    <version>Minecraft 1.14.4 Pre-Release 3</version>
                    <version>Minecraft 1.14.4 Pre-Release 4</version>
                    <version>Minecraft 1.14.4 Pre-Release 5</version>
                    <version>Minecraft 1.14.4 Pre-Release 6</version>
                    <version>1.14.4 Pre-Release 7</version>
                    <version>1.14.4</version>
                    <version>19w34a</version>
                    <version>19w35a</version>
                    <version>19w36a</version>
                    <version>19w37a</version>
                    <version>19w38b</version>
                    <version>19w38a</version>
                    <version>19w39a</version>
                    <version>19w40a</version>
                    <version>19w41a</version>
                    <version>19w42a</version>
                    <version>19w44a</version>
                    <version>19w45a</version>
                    <version>19w45b</version>
                    <version>19w46a</version>
                    <version>19w46b</version>
                    <version>1.15 Pre-release 1</version>
                    <version>1.15 Pre-Release 2</version>
                    <version>1.15 Pre-release 3</version>
                    <version>1.15 Pre-release 4</version>
                    <version>1.15 Pre-release 5</version>
                    <version>1.15 Pre-release 6</version>
                    <version>1.15 Pre-release 7</version>
                    <version>1.15</version>
                    <version>1.15.1</version>
                    <version>1.15.1 Pre-release 1</version>
                    <version>1.15.2 Pre-Release 1</version>
                    <version>1.15.2 Pre-release 2</version>
                    <version>1.15.2</version>
                    <version>20w06a</version>
                    <version>20w07a</version>
                    <version>20w08a</version>
                    <version>20w09a</version>
                    <version>20w10a</version>
                    <version>20w11a</version>
                    <version>20w12a</version>
                    <version>20w13a</version>
                    <version>20w13b</version>
                    <version>20w14a</version>
                    <version>20w15a</version>
                    <version>20w16a</version>
                    <version>20w17a</version>
                    <version>20w18a</version>
                    <version>20w19a</version>
                    <version>20w20a</version>
                    <version>20w20b</version>
                    <version>20w21a</version>
                    <version>20w22a</version>
                    <version>1.16 Pre-release 1</version>
                    <version>1.16 Pre-release 2</version>
                    <version>1.16 Pre-release 3</version>
                    <version>1.16 Pre-release 4</version>
                    <version>1.16 Pre-release 5</version>
                    <version>1.16 Pre-release 6</version>
                    <version>1.16 Pre-release 7</version>
                    <version>1.16 Pre-release 8</version>
                    <version>1.16 Release Candidate 1</version>
                    <version>1.16</version>
                    <version>1.16.1</version>
                    <version>20w27a</version>
                    <version>20w28a</version>
                    <version>20w29a</version>
                    <version>20w30a</version>
                    <version>1.16.2 Pre-release 1</version>
                    <version>1.16.2 Pre-release 2</version>
                    <version>1.16.2 Pre-release 3</version>
                    <version>1.16.2 Release Candidate 1</version>
                    <version>1.16.2 Release Candidate 2</version>
                    <version>1.16.2</version>
                    <version>1.16.3 Release Candidate 1</version>
                    <version>1.16.3</version>
                    <version>1.16.4 Pre-release 1</version>
                    <version>1.16.4 Pre-release 2</version>
                    <version>1.16.4 Release Candidate 1</version>
                    <version>1.16.4</version>
                    <version>20w45a</version>
                    <version>20w46a</version>
                    <version>20w48a</version>
                    <version>20w49a</version>
                    <version>20w51a</version>
                    <version>21w03a</version>
                    <version>1.16.5</version>
                    <version>21w05a</version>
                    <version>21w05b</version>
                    <version>21w06a</version>
                    <version>21w07a</version>
                    <version>21w08b</version>
                    <version>21w10a</version>
                    <version>21w11a</version>
                    <version>21w13a</version>
                    <version>21w14a</version>
                    <version>21w15a</version>
                    <version>21w16a</version>
                    <version>21w17a</version>
                    <version>21w18a</version>
                    <version>21w19a</version>
                    <version>21w20a</version>
                    <version>1.17 Pre-release 2</version>
                    <version>1.17 Release Candidate 2</version>
                    <version>1.17</version>
                    <version>1.17.1</version>
                    <version>21w39a</version>
                    <version>21w40a</version>
                    <version>21w41a</version>
                    <version>21w42a</version>
                    <version>21w44a</version>
                    <version>1.18 Release Candidate 3</version>
                    <version>1.18</version>
                    <version>1.18.1</version>
                    <version>22w05a</version>
                    <version>1.18.2 Release Candidate 1</version>
                    <version>1.18.2</version>
                    <version>22w14a</version>
                    <version>22w17a</version>
                    <version>1.19 Pre-release 1</version>
                    <version>1.19</version>
                    <version>1.19.1</version>
                    <version>1.19.2</version>
                    <version>22w43a</version>
                    <version>1.19.3</version>
                    <version>23w03a</version>
                    <version>23w04a</version>
                    <version>1.19.4</version>
                    <version>1.20</version>
                    <version>1.20.1 Release Candidate 1</version>
                    <version>1.20.1</version>
                    <version>1.20.2 Pre-release 2</version>
                    <version>1.20.4</version>
                    <version>23w51b</version>
                    <version>24w11a</version>
                    <version>1.20.6</version>
                    <version>24w19b</version>
                    <version>1.21</version>
                    <version>24w33a</version>
                    <version>1.21.1</version>
                    <version>24w34a</version>
                    <version>1.21.3</version>
                    <version>1.21.4</version>
                                                                        <votes>134</votes>
                                    <watches>52</watches>
                                                                            <comments>
                            <comment id="1352095" author="JIRAUSER790710" created="Wed, 28 Aug 2024 21:43:02 +0200"  >&lt;p&gt;confirmed in 1.21.1&lt;/p&gt;</comment>
                            <comment id="1349591" author="ceresjanin123" created="Tue, 20 Aug 2024 18:50:54 +0200"  >&lt;p&gt;This could be fixed in the experimental redstone improvements hopefully&lt;/p&gt;</comment>
                            <comment id="1279161" author="jacklollz2" created="Sat, 9 Sep 2023 13:58:32 +0200"  >&lt;p&gt;Can confirm, bug still occurs in 1.20.2 Pre-release 2.&lt;/p&gt;</comment>
                            <comment id="1278970" author="jouppi22" created="Thu, 7 Sep 2023 22:15:57 +0200"  >&lt;p&gt;In 1.20.2 Pre-Release 2&lt;/p&gt;</comment>
                            <comment id="1247362" author="isrosillo14" created="Tue, 28 Mar 2023 13:30:42 +0200"  >&lt;p&gt;Hey Avoma! Though this is not a code analysis, it is a possible fix for this bug, I hope this will help Mojang fix it.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Cause&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Powered rails try to check and update when a neighbour change happens, that is okay. The problem is that if you set a redstone power source next to an already powered &quot;on&quot; rail, neighbors will not update because there are no block state changes (powered=true is equal to powered=true). A possible way to fix this is by making the powered block state depend on a power number state, so every time a redstone signal changes every rail will update neighbour rails up until they&apos;re far enough from source.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Workaround&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;A few months ago I was messing with &lt;b&gt;PoweredRailBlock.java&lt;/b&gt; to make curved powered rails, and I noticed how unsafe are methods &lt;tt&gt;findPoweredRailSignal(Level,BlockPos,BlockState,boolean,int)&lt;/tt&gt;&#160;and &lt;tt&gt;isSameRailWithPower(Level,BlockPos,boolean,int,RailShape)&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Basically what I did was remove the proximity variable (the int param of this method that increases every time it checks a further rail) and make powered rails use a new &quot;power&quot; block state that goes from 0 to 9 (0 equals to unpowered, 9 is fully powered). Then, changed &lt;tt&gt;findPoweredRailSignal&lt;/tt&gt; again to only check directly connected powered rails (and not all 8) and &lt;tt&gt;isSameRailWithPower&lt;/tt&gt; to only check the given&apos;s rail &quot;power&quot; state (previously it did check if that rail had a redstone source or else check for a further away neighbour block). Also, the two methods mentioned above will now return power state (int) instead of powered state (boolean).&lt;/p&gt;

&lt;p&gt;In other words, the new behaviour will make &lt;tt&gt;findPoweredRailSignal&lt;/tt&gt; and &lt;tt&gt;isSameRailWithPower&lt;/tt&gt; get their direct adjacent&apos;s power. End result of these two methods:&lt;/p&gt;

&lt;p&gt;&#160;&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-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;class &lt;/span&gt;PoweredRailBlock &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; BaseRailBlock {
    ...
&#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; findPoweredRailSignal(Level p_55220_, BlockPos p_55221_, BlockState p_55222_, &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; reverse) {
&#160; &#160; &#160; &#160; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; i = p_55221_.getX();
&#160; &#160; &#160; &#160; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; j = p_55221_.getY();
&#160; &#160; &#160; &#160; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; k = p_55221_.getZ();
&#160; &#160; &#160; &#160; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; checkBelow = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
&#160; &#160; &#160; &#160; RailShape railshape = p_55222_.getValue(SHAPE);

&#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;switch&lt;/span&gt; (railshape) {
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; NORTH_SOUTH:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (reverse) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++k;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; --k;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt;;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; EAST_WEST:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (reverse) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; --i;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++i;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt;;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; ASCENDING_EAST:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (reverse) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; --i;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++i;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++j;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; checkBelow = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }

&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; railshape = RailShape.EAST_WEST;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt;;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; ASCENDING_WEST:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (reverse) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; --i;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++j;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; checkBelow = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++i;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }

&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; railshape = RailShape.EAST_WEST;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt;;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; ASCENDING_NORTH:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (reverse) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++k;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; --k;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++j;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; checkBelow = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }

&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; railshape = RailShape.NORTH_SOUTH;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt;;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; ASCENDING_SOUTH:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (reverse) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++k;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ++j;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; checkBelow = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; --k;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }

&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; railshape = RailShape.NORTH_SOUTH;
&#160; &#160; &#160; &#160; }

&#160; &#160; &#160; &#160; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; pow;

  &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((pow = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getSameRailPower(p_55220_, &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; BlockPos(i, j, k), railshape)) &amp;gt; 0) {
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; pow;
&#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; checkBelow ? &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getSameRailPower(p_55220_, &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; BlockPos(i, j - 1, k), railshape) : 0;
&#160; &#160; &#160; &#160; }
&#160; &#160; }

  &#160; /* renamed from isSameRailWithPower
     * I also removed the &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; param because it was not used anymore
     */
&#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; getSameRailPower(Level p_55226_, BlockPos p_55227_, RailShape p_55230_) {
&#160; &#160; &#160; &#160; BlockState blockstate = p_55226_.getBlockState(p_55227_);

&#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!blockstate.is(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;)) {
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;
&#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; RailShape railshape = blockstate.getValue(SHAPE);

  &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (p_55230_ != RailShape.EAST_WEST || railshape != RailShape.NORTH_SOUTH &amp;amp;&amp;amp; railshape != RailShape.ASCENDING_NORTH &amp;amp;&amp;amp; railshape != RailShape.ASCENDING_SOUTH) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (p_55230_ != RailShape.NORTH_SOUTH || railshape != RailShape.EAST_WEST &amp;amp;&amp;amp; railshape != RailShape.ASCENDING_EAST &amp;amp;&amp;amp; railshape != RailShape.ASCENDING_WEST) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (blockstate.getValue(POWER) &amp;gt; 0) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; blockstate.getValue(POWER);
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; &#160; &#160; } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; }
&#160; &#160; }
    ...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Now, we are missing something: method &lt;tt&gt;updateState(BlockState,Level,BlockPos,Block)&lt;/tt&gt;. This is the only method that uses &lt;tt&gt;findPoweredRailSignal&lt;/tt&gt;, and is the one that sets the rail&apos;s power value when it detects a neighbor change. We will update it in order to set the proper &quot;power&quot; block state, by getting instead the adjacent connected powered rails highest signal, and decrease it by 1 (so power will be lesser the further the rail is full from source rail):&lt;/p&gt;

&lt;p&gt;&#160;&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-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;class &lt;/span&gt;PoweredRailBlock &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; BaseRailBlock {
    ...
  &#160; @Override
&#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; void updateState(BlockState p_55232_, Level p_55233_, BlockPos p_55234_, Block p_55235_) {
&#160; &#160; &#160; &#160; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; thisPower = p_55232_.getValue(POWER);
&#160; &#160; &#160; &#160; &lt;span class=&quot;code-comment&quot;&gt;/* Give nine of power instead of redstone power in order to keep the original behavior */&lt;/span&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; checkPower = &lt;span class=&quot;code-object&quot;&gt;Math&lt;/span&gt;.max(p_55233_.hasNeighborSignal(p_55234_) ? 9 : 0, &lt;span class=&quot;code-object&quot;&gt;Math&lt;/span&gt;.max(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.findPoweredRailSignal(p_55233_, p_55234_, p_55232_, &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;), &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.findPoweredRailSignal(p_55233_, p_55234_, p_55232_, &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;)) - 1);

&#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (checkPower != thisPower) {
&#160; &#160; &#160; &#160; &#160; &#160; p_55233_.setBlock(p_55234_, p_55232_.setValue(POWER, &lt;span class=&quot;code-object&quot;&gt;Integer&lt;/span&gt;.valueOf(checkPower)), 3);
&#160; &#160; &#160; &#160; &#160; &#160; p_55233_.updateNeighborsAt(p_55234_.below(), &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;);

&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (p_55232_.getValue(SHAPE).isAscending()) {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p_55233_.updateNeighborsAt(p_55234_.above(), &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;);
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; }
&#160; &#160; }
    ...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;After this workaround, the bug seemed fixed.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Problems:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;After changing powered rail&apos;s &quot;powered&quot; state, file &lt;tt&gt;assets/minecraft/blockstates/powered_rail.json&lt;/tt&gt; went HUGE.&lt;/li&gt;
	&lt;li&gt;I couldn&apos;t find a way to datafix existing powered rail blocks from previous world version to give them the proper power value. You will have to destroy and place again the rail block.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1234896" author="JIRAUSER734481" created="Wed, 1 Feb 2023 17:04:53 +0100"  >&lt;p&gt;Can confirm in 23w06a&lt;/p&gt;</comment>
                            <comment id="1233494" author="JIRAUSER734481" created="Wed, 25 Jan 2023 08:22:03 +0100"  >&lt;p&gt;Can confirm in 23w04a&lt;/p&gt;</comment>
                            <comment id="1221703" author="JIRAUSER734481" created="Wed, 18 Jan 2023 15:25:20 +0100"  >&lt;p&gt;Can confirm in 23w03a&lt;/p&gt;</comment>
                            <comment id="1125315" author="arisabot" created="Mon, 13 Dec 2021 12:53:43 +0100"  >&lt;p&gt;An attachment with a disallowed file extension has been removed from this ticket.&lt;/p&gt;

&lt;p&gt;Executable files and documents are not allowed as attachments.&lt;br/&gt;
Please attach crash reports, log files and screenshots as they are instead of pasting them into a document.&lt;br/&gt;
&lt;sub&gt;&lt;font color=&quot;#888&quot;&gt;&amp;#8211; I am a bot. This action was performed automatically! If you think it was incorrect, please notify us 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="1116415" author="JIRAUSER642570" created="Sat, 27 Nov 2021 04:44:01 +0100"  >&lt;p&gt;Can confirm in Release 1.17.1&lt;/p&gt;</comment>
                            <comment id="1083887" author="JIRAUSER566325" created="Mon, 4 Oct 2021 11:16:56 +0200"  >&lt;p&gt;I am able to confirm this behavior in 21w39a. Here are some extra details regarding this problem.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;The Bug:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Powered rails do not update when additional power sources are added or removed.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Build the setup as shown in the attachment below. &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://bugs.mojang.com/secure/attachment/444977/444977_setup.png&quot; title=&quot;setup.png attached to MC-957&quot;&gt;setup.png&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://bugs.mojang.com/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;Place a redstone block on top of the diamond block.&lt;/li&gt;
	&lt;li&gt;Take note of how many powered rails are activated.&lt;/li&gt;
	&lt;li&gt;Place a redstone block on top of the emerald block.&lt;/li&gt;
	&lt;li&gt;Once again, take note of how many powered rails are activated.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;Observed Behavior:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Powered rails do not update when additional power sources are added or removed.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Expected Behavior:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Powered rails would be updated when additional power sources are added or removed.&lt;/p&gt;</comment>
                            <comment id="960589" author="JIRAUSER562701" created="Tue, 30 Mar 2021 03:19:52 +0200"  >&lt;p&gt;There is an easy workaround, just break the rail, add the source and it works.&lt;/p&gt;</comment>
                            <comment id="928292" author="JIRAUSER609905" created="Sun, 21 Feb 2021 15:22:42 +0100"  >&lt;p&gt;Also affects Activator Rails.&lt;/p&gt;</comment>
                            <comment id="913365" author="JIRAUSER605128" created="Fri, 5 Feb 2021 12:40:08 +0100"  >&lt;p&gt;Confimed on 1.16.4&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="849567" author="farogaming" created="Wed, 25 Nov 2020 22:18:21 +0100"  >&lt;p&gt;Only the latest release and the latest snapshot are useful. And that version is already in the list.&lt;/p&gt;</comment>
                            <comment id="849528" author="JIRAUSER574881" created="Wed, 25 Nov 2020 21:30:41 +0100"  >&lt;p&gt;cofirmed in 1.4.1&lt;/p&gt;</comment>
                            <comment id="835617" author="JIRAUSER567022" created="Thu, 5 Nov 2020 20:44:35 +0100"  >&lt;p&gt;confirmed for 20w45a&lt;/p&gt;</comment>
                            <comment id="757521" author="JIRAUSER508442" created="Mon, 6 Jul 2020 18:57:38 +0200"  >&lt;p&gt;affects 20w27a&lt;/p&gt;</comment>
                            <comment id="731449" author="JIRAUSER499978" created="Mon, 15 Jun 2020 21:43:15 +0200"  >&lt;p&gt;Confirmed in 1.16-pre6.&lt;/p&gt;</comment>
                            <comment id="728269" author="JIRAUSER499978" created="Fri, 12 Jun 2020 17:07:54 +0200"  >&lt;p&gt;Confirmed in 1.16-pre5.&lt;/p&gt;</comment>
                            <comment id="720203" author="numeritos" created="Fri, 5 Jun 2020 15:44:25 +0200"  >&lt;p&gt;Affects &lt;b&gt;1.16 pre2&lt;/b&gt;&lt;/p&gt;</comment>
                            <comment id="683908" author="t3st3ro" created="Wed, 29 Apr 2020 18:52:16 +0200"  >&lt;p&gt;and 20w18a&lt;/p&gt;</comment>
                            <comment id="678572" author="JIRAUSER469992" created="Thu, 23 Apr 2020 23:10:50 +0200"  >&lt;p&gt;Still in snapshot 20w17a&lt;/p&gt;</comment>
                            <comment id="551000" author="bookworm86" created="Sun, 26 May 2019 18:03:50 +0200"  >&lt;p&gt;Glad someone reported this, I thought I was going crazy (built a string farm from Pixlriffs but the minecart keeps stopping on a powered rail). Still an issue in 1.14.2 pre-release 4.&#160;&lt;/p&gt;</comment>
                            <comment id="548221" author="zenico13" created="Fri, 17 May 2019 20:12:22 +0200"  >&lt;p&gt;Still in &lt;b&gt;1.14.2 Pre-Release 1&lt;/b&gt; and &lt;b&gt;1.14.2 Pre-Release 2&lt;/b&gt;&lt;/p&gt;</comment>
                            <comment id="546497" author="zenico13" created="Mon, 13 May 2019 17:54:23 +0200"  >&lt;p&gt;Can also confirm for &lt;b&gt;1.14.1 Release&lt;/b&gt;&lt;/p&gt;</comment>
                            <comment id="546376" author="jack_mckalling" created="Mon, 13 May 2019 15:31:00 +0200"  >&lt;p&gt;Confirmed for 1.14.1&lt;/p&gt;</comment>
                            <comment id="545008" author="jack_mckalling" created="Thu, 9 May 2019 17:28:45 +0200"  >&lt;p&gt;Confirmed for 1.14.1 pre-2&lt;/p&gt;</comment>
                            <comment id="544045" author="jack_mckalling" created="Tue, 7 May 2019 18:21:45 +0200"  >&lt;p&gt;Confirmed for 1.14.1 pre-1&lt;/p&gt;</comment>
                            <comment id="541272" author="soullesspacifist" created="Tue, 30 Apr 2019 07:54:38 +0200"  >&lt;p&gt;Confirmed for 1.14 Release&lt;/p&gt;</comment>
                            <comment id="538225" author="zenico13" created="Tue, 23 Apr 2019 21:10:15 +0200"  >&lt;p&gt;Still in &lt;b&gt;1.14 Release&lt;/b&gt;&lt;/p&gt;</comment>
                            <comment id="536601" author="jack_mckalling" created="Thu, 18 Apr 2019 15:10:24 +0200"  >&lt;p&gt;Confirmed for 1.14 pre-5&lt;/p&gt;</comment>
                            <comment id="536202" author="jack_mckalling" created="Wed, 17 Apr 2019 18:40:21 +0200"  >&lt;p&gt;Confirmed for 1.14 pre-4&lt;/p&gt;</comment>
                            <comment id="535777" author="jack_mckalling" created="Tue, 16 Apr 2019 16:48:25 +0200"  >&lt;p&gt;Confirmed for 1.14 pre-3&lt;/p&gt;</comment>
                            <comment id="534438" author="zenico13" created="Fri, 12 Apr 2019 21:47:59 +0200"  >&lt;p&gt;Still in &lt;b&gt;1.14 Pre-Release 2&lt;/b&gt;&lt;/p&gt;</comment>
                            <comment id="533375" author="jack_mckalling" created="Wed, 10 Apr 2019 17:32:28 +0200"  >&lt;p&gt;Confirmed for 1.14 pre-1&lt;/p&gt;</comment>
                            <comment id="532779" author="jack_mckalling" created="Mon, 8 Apr 2019 11:47:29 +0200"  >&lt;p&gt;Confirmed for 19w14b&lt;/p&gt;</comment>
                            <comment id="531244" author="jack_mckalling" created="Wed, 3 Apr 2019 17:59:01 +0200"  >&lt;p&gt;Confirmed for 19w14a&lt;/p&gt;</comment>
                            <comment id="530087" author="jack_mckalling" created="Fri, 29 Mar 2019 15:16:14 +0100"  >&lt;p&gt;Confirmed for 19w13b&lt;/p&gt;</comment>
                            <comment id="529486" author="jack_mckalling" created="Wed, 27 Mar 2019 20:57:52 +0100"  >&lt;p&gt;Confirmed for 19w13a&lt;/p&gt;</comment>
                            <comment id="527559" author="jack_mckalling" created="Thu, 21 Mar 2019 17:59:00 +0100"  >&lt;p&gt;Confirmed for 19w12b&lt;/p&gt;</comment>
                            <comment id="527142" author="jack_mckalling" created="Wed, 20 Mar 2019 23:20:35 +0100"  >&lt;p&gt;Confirmed for 19w12a&lt;/p&gt;</comment>
                            <comment id="525534" author="jack_mckalling" created="Thu, 14 Mar 2019 17:19:55 +0100"  >&lt;p&gt;Confirmed for 19w11b&lt;/p&gt;</comment>
                            <comment id="525124" author="jack_mckalling" created="Wed, 13 Mar 2019 18:21:16 +0100"  >&lt;p&gt;Confirmed for 19w11a&lt;/p&gt;</comment>
                            <comment id="522677" author="jack_mckalling" created="Thu, 28 Feb 2019 10:42:04 +0100"  >&lt;p&gt;Confirmed for 19w09a&lt;/p&gt;</comment>
                            <comment id="518938" author="jack_mckalling" created="Wed, 13 Feb 2019 18:15:39 +0100"  >&lt;p&gt;Confirmed for 19w07a&lt;/p&gt;</comment>
                            <comment id="517186" author="jack_mckalling" created="Wed, 6 Feb 2019 18:35:14 +0100"  >&lt;p&gt;Confirmed for 19w06a&lt;/p&gt;</comment>
                            <comment id="515888" author="jack_mckalling" created="Wed, 30 Jan 2019 23:26:10 +0100"  >&lt;p&gt;Confirmed for 19w04b and 19w05a&lt;/p&gt;</comment>
                            <comment id="514484" author="jack_mckalling" created="Thu, 24 Jan 2019 17:31:32 +0100"  >&lt;p&gt;Comfirmed for 19w04a&lt;/p&gt;</comment>
                            <comment id="513644" author="jack_mckalling" created="Sat, 19 Jan 2019 17:39:55 +0100"  >&lt;p&gt;Confirmed for 19w03c&lt;/p&gt;</comment>
                            <comment id="513108" author="jack_mckalling" created="Thu, 17 Jan 2019 18:40:45 +0100"  >&lt;p&gt;Confirmed for 19w03b&lt;/p&gt;</comment>
                            <comment id="512719" author="jack_mckalling" created="Wed, 16 Jan 2019 18:39:24 +0100"  >&lt;p&gt;Confirmed for 19w03a&lt;/p&gt;</comment>
                            <comment id="511130" author="jack_mckalling" created="Wed, 9 Jan 2019 17:45:51 +0100"  >&lt;p&gt;Confirmed for 19w02a&lt;/p&gt;</comment>
                            <comment id="506316" author="jack_mckalling" created="Wed, 12 Dec 2018 16:40:13 +0100"  >&lt;p&gt;Confirmed for 18w50a&lt;/p&gt;</comment>
                            <comment id="505089" author="jack_mckalling" created="Wed, 5 Dec 2018 16:57:18 +0100"  >&lt;p&gt;Confirmed for 18w49a&lt;/p&gt;</comment>
                            <comment id="504190" author="jack_mckalling" created="Fri, 30 Nov 2018 17:08:47 +0100"  >&lt;p&gt;Confirmed for 18w48b&lt;/p&gt;</comment>
                            <comment id="503913" author="jack_mckalling" created="Thu, 29 Nov 2018 17:14:45 +0100"  >&lt;p&gt;Confirmed for 18w48a&lt;/p&gt;</comment>
                            <comment id="494726" author="kraif" created="Fri, 19 Oct 2018 18:13:31 +0200"  >&lt;p&gt;Confirmed for 1.13.2-pre2.&lt;/p&gt;</comment>
                            <comment id="494164" author="kraif" created="Tue, 16 Oct 2018 19:32:55 +0200"  >&lt;p&gt;Confirmed for 1.13.2-pre1.&lt;/p&gt;</comment>
                            <comment id="484009" author="kraif" created="Wed, 22 Aug 2018 21:54:26 +0200"  >&lt;p&gt;Confirmed for the last snapshots (1.13.1-pre1, pre-2) and 1.13.1.&lt;/p&gt;</comment>
                            <comment id="482017" author="kraif" created="Wed, 15 Aug 2018 17:19:50 +0200"  >&lt;p&gt;Confirmed for 18w33a.&lt;/p&gt;</comment>
                            <comment id="480577" author="kraif" created="Wed, 8 Aug 2018 16:38:31 +0200"  >&lt;p&gt;Confirmed for 18w32a.&lt;/p&gt;</comment>
                            <comment id="478829" author="kraif" created="Wed, 1 Aug 2018 18:16:09 +0200"  >&lt;p&gt;Confirmed for 18w31a.&lt;/p&gt;</comment>
                            <comment id="476830" author="kraif" created="Thu, 26 Jul 2018 22:53:30 +0200"  >&lt;p&gt;Confirmed for 18w30b.&lt;/p&gt;</comment>
                            <comment id="476111" author="kraif" created="Wed, 25 Jul 2018 17:56:29 +0200"  >&lt;p&gt;Confirmed for 18w30a.&lt;/p&gt;</comment>
                            <comment id="473200" author="kraif" created="Wed, 18 Jul 2018 23:13:07 +0200"  >&lt;p&gt;Confirmed for 1.13.&lt;/p&gt;</comment>
                            <comment id="472880" author="kraif" created="Wed, 18 Jul 2018 12:47:59 +0200"  >&lt;p&gt;Confirmed for 1.13-pre10.&lt;/p&gt;</comment>
                            <comment id="472198" author="kraif" created="Tue, 17 Jul 2018 11:49:17 +0200"  >&lt;p&gt;Confirmed for 1.13-pre9.&lt;/p&gt;</comment>
                            <comment id="470765" author="kraif" created="Fri, 13 Jul 2018 14:25:59 +0200"  >&lt;p&gt;Confirmed for 1.13-pre8.&lt;/p&gt;</comment>
                            <comment id="469390" author="xiz" created="Tue, 10 Jul 2018 19:08:42 +0200"  >&lt;p&gt;Confirmed in 1.13-pre7.&lt;/p&gt;</comment>
                            <comment id="464568" author="xiz" created="Thu, 28 Jun 2018 15:05:43 +0200"  >&lt;p&gt;Confirmed for &lt;b&gt;&lt;font color=&quot;#14892c&quot;&gt;MC 1.13-pre4&lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;#333333&quot;&gt; too.&lt;/font&gt;&lt;/p&gt;</comment>
                            <comment id="462934" author="schortan" created="Sat, 23 Jun 2018 16:57:45 +0200"  >&lt;p&gt;Can confirm for 1.13-pre3&lt;/p&gt;</comment>
                            <comment id="460281" author="xiz" created="Thu, 14 Jun 2018 16:36:34 +0200"  >&lt;p&gt;You could fix that adding a redstone torch near the &lt;b&gt;non-activated&lt;/b&gt; rail. It worked for me.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="431582" author="leagris" created="Sun, 28 Jan 2018 02:44:12 +0100"  >&lt;p&gt;Bug still present in 18w03b&lt;/p&gt;</comment>
                            <comment id="415076" author="schortan" created="Thu, 26 Oct 2017 19:13:38 +0200"  >&lt;p&gt;Can confirm for 17w43a/b&lt;/p&gt;</comment>
                            <comment id="398889" author="alugia" created="Fri, 11 Aug 2017 18:04:55 +0200"  >&lt;p&gt;Confirmed for 1.12.1&lt;/p&gt;</comment>
                            <comment id="316851" author="__null" created="Thu, 23 Jun 2016 18:08:20 +0200"  >&lt;p&gt;Confirmed for &lt;font color=&quot;#060&quot;&gt;&lt;b&gt;1.10.2&lt;/b&gt;&lt;/font&gt;.&lt;/p&gt;</comment>
                            <comment id="316051" author="__null" created="Wed, 22 Jun 2016 19:02:22 +0200"  >&lt;p&gt;Confirmed for &lt;font color=&quot;#060&quot;&gt;&lt;b&gt;1.10.1&lt;/b&gt;&lt;/font&gt;.&lt;/p&gt;</comment>
                            <comment id="312311" author="farogaming" created="Fri, 10 Jun 2016 00:40:35 +0200"  >&lt;p&gt;Confirmed for 1.10.&lt;br/&gt;
Should be easy to fix by adding power levels like in redstone.&lt;/p&gt;</comment>
                            <comment id="289310" author="ezeiger92" created="Thu, 25 Feb 2016 07:51:53 +0100"  >&lt;p&gt;Confirmed for 1.9-pre3&lt;/p&gt;</comment>
                            <comment id="286638" author="immaterialise" created="Wed, 17 Feb 2016 17:27:25 +0100"  >&lt;p&gt;Confirmed for 1.9-pre1&lt;/p&gt;</comment>
                            <comment id="280150" author="pascallj" created="Tue, 26 Jan 2016 21:54:48 +0100"  >&lt;p&gt;Confirmed for &lt;b&gt;16w03a&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="274319" author="james549" created="Wed, 23 Dec 2015 23:42:37 +0100"  >&lt;p&gt;Confirmed for &lt;b&gt;1.8.9&lt;/b&gt; and &lt;b&gt;15w51b&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="259896" author="litargirio" created="Fri, 30 Oct 2015 19:07:42 +0100"  >&lt;p&gt;Confirmed for 15w44b&lt;/p&gt;</comment>
                            <comment id="239624" author="neko" created="Mon, 3 Aug 2015 05:47:59 +0200"  >&lt;p&gt;Confirmed 15w31c&lt;/p&gt;</comment>
                            <comment id="229342" author="superspeth" created="Tue, 2 Jun 2015 15:53:23 +0200"  >&lt;p&gt;Confirmed in 1.8.6&lt;/p&gt;</comment>
                            <comment id="207366" author="cubfan135" created="Sat, 1 Nov 2014 11:04:46 +0100"  >&lt;p&gt;Confirmed in 1.8-pre 3.&lt;/p&gt;</comment>
                            <comment id="187599" author="tintti214" created="Mon, 11 Aug 2014 21:55:14 +0200"  >&lt;p&gt;Still reproduceable in 14w32d!&lt;/p&gt;</comment>
                            <comment id="171687" author="kuubaku" created="Mon, 7 Jul 2014 21:55:23 +0200"  >&lt;p&gt;Still not fixed as of 14w27b&lt;/p&gt;

&lt;p&gt;This can be exploited by mapmakers to create enormous self-powered tracks with but a pair of torches.&lt;/p&gt;</comment>
                            <comment id="157475" author="torabi" created="Tue, 13 May 2014 18:21:58 +0200"  >&lt;p&gt;A redstone torch can normally only power a rail up to 9 blocks away, which makes a total of 17 rails in a row, if the torch is placed next to them. The bug here is that in some cases, redstone torches placed or removed next to an active powered rail are not updating the rails, meaning that some rails do not go inactive, while others do not become active. This means that a single torch can be made to power extremely long (perhaps infinite) sections of powered rail, if the torches are added and removed in the right places, and the right order.&lt;/p&gt;

&lt;p&gt;Placing or removing a torch only seems to update the rails if it is placed next to the last active powered rail in a row that is correctly powered by another torch. If it is the only torch within range, then the rails will be updated correctly.&lt;/p&gt;</comment>
                            <comment id="157077" author="funjeremy" created="Sun, 11 May 2014 14:38:38 +0200"  >&lt;p&gt;This is not a bug! You see, when you put redstone current (e.g, lever or redstone torch etc.) down it is carried through the rails. Thus, if you destroyed another redstone current, the other redstone current would be carried on.&lt;/p&gt;</comment>
                            <comment id="152154" author="minecrafter104" created="Thu, 24 Apr 2014 05:46:08 +0200"  >&lt;p&gt;Confirmed in 14w11b.&lt;/p&gt;</comment>
                            <comment id="142571" author="poisonedporkchop" created="Sun, 23 Feb 2014 07:08:20 +0100"  >&lt;p&gt;I believe this bug has been present since powered rails were added. I&apos;ve tested it back to 1.0 but not in beta 1.5 because of no creative mode back then. I&apos;m surprised such an old bug hasn&apos;t been fixed lol.&lt;/p&gt;</comment>
                            <comment id="142047" author="garyclosse" created="Thu, 20 Feb 2014 21:05:48 +0100"  >&lt;p&gt;Still present in 08a&lt;/p&gt;</comment>
                            <comment id="133814" author="kuubaku" created="Thu, 23 Jan 2014 04:52:30 +0100"  >&lt;p&gt;This is still valid indeed.&lt;/p&gt;</comment>
                            <comment id="133561" author="ezekielelin" created="Wed, 22 Jan 2014 16:52:23 +0100"  >&lt;p&gt;Is this still a concern in the latest Minecraft version &lt;b&gt;14w03b&lt;/b&gt;? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="78989" author="nuclear_turkey" created="Sun, 30 Jun 2013 13:56:19 +0200"  >&lt;p&gt;still in 1.6.1 pre&lt;/p&gt;</comment>
                            <comment id="49624" author="evknucklehead" created="Mon, 4 Mar 2013 18:21:16 +0100"  >&lt;p&gt;Still in 13w10a. Redstone Blocks behave like the levers do in Nic&apos;s comment.&lt;/p&gt;</comment>
                            <comment id="48298" author="kuubaku" created="Thu, 28 Feb 2013 13:45:36 +0100"  >&lt;p&gt;This affects 13w09b. Activator rails are affected as well. &lt;/p&gt;</comment>
                            <comment id="43870" author="mustek" created="Tue, 5 Feb 2013 23:41:44 +0100"  >&lt;p&gt;Still happens in 13w05b&lt;/p&gt;</comment>
                            <comment id="37111" author="lucky" created="Wed, 16 Jan 2013 05:17:23 +0100"  >&lt;p&gt;This is still and issue in 1.4.7 and in Snapshot 13w02b&lt;br/&gt;
In 13w02b this effects the Activator Rail and Powered Rail in the same way.&lt;/p&gt;

&lt;p&gt;The powered rail update changes slightly depending on the power source type(torch or leaver).&lt;br/&gt;
&lt;em&gt;Please look at the screen shot attached named 13w02b Powered Rail Bug&lt;/em&gt;&lt;br/&gt;
From left to right:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The first leaver was turned on. Then the second leaver. No power was given to the rail to the north of the second leaver.&lt;br/&gt;
Only when the first unpowered piece of track to the north has a block update will the track get powered.&lt;/li&gt;
	&lt;li&gt;When torches are used as the source(at the same position), the tracks are then powered.&lt;/li&gt;
	&lt;li&gt;When torches are used again, but placed at a different position it has the similar effect as the leavers.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="27162" author="kumasasa" created="Sat, 8 Dec 2012 14:35:17 +0100"  >&lt;p&gt;Confirmed for 12w49a&lt;/p&gt;</comment>
                            <comment id="14992" author="robbielee1" created="Mon, 29 Oct 2012 14:18:34 +0100"  >&lt;p&gt;As you can see from the screenshot, more rails are powered one side of the torch than should be powered due to this bug.&lt;/p&gt;</comment>
                            <comment id="14990" author="robbielee1" created="Mon, 29 Oct 2012 14:14:57 +0100"  >&lt;p&gt;Recreated in 1.4.2, moving the torch doesn&apos;t update the rails, normally only 8 rails are powered either side of the torch but with this bug I managed to get 16 rails powered one side of the torch this is because the rails don&apos;t update from their powered state once the torch is moved.&lt;/p&gt;</comment>
                            <comment id="14559" author="ricardo_stryki" created="Sun, 28 Oct 2012 01:51:29 +0200"  >&lt;p&gt;I&apos;m spanish don&apos;t insult me man&lt;/p&gt;</comment>
                            <comment id="14558" author="kourchenko" created="Sun, 28 Oct 2012 01:44:55 +0200"  >&lt;p&gt;&amp;lt;Comment removed by MOD&amp;gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="25030">MC-10947</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="75083">MC-49318</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="87980">MC-60708</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="93234">MC-65748</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="96035">MC-68447</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="104028">MC-75801</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="104983">MC-76665</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="144527">MC-103976</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="320315">MC-183176</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="395732">MC-208256</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="457730">MC-233149</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="477557">MC-239800</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="536163">MC-263385</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="566598">MC-275518</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="567518">MC-275932</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="70307">MC-45091</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81169">MC-54818</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="18785" name="13w02b Powered Rail Bug.png" size="304692" author="lucky" created="Wed, 16 Jan 2013 04:57:39 +0100"/>
                            <attachment id="57818" name="2014-02-20_21.03.07.png" size="498787" author="garyclosse" created="Thu, 20 Feb 2014 21:05:48 +0100"/>
                            <attachment id="70409" name="2014-07-07_23.33.28.png" size="131050" author="kuubaku" created="Mon, 7 Jul 2014 21:55:23 +0200"/>
                            <attachment id="70410" name="2014-07-07_23.49.19.png" size="1082696" author="kuubaku" created="Mon, 7 Jul 2014 21:55:23 +0200"/>
                            <attachment id="455457" name="MC-957.mp4" size="8511508" author="Avoma" created="Sat, 6 Nov 2021 15:17:00 +0100"/>
                            <attachment id="444978" name="MC-957.png" size="572936" author="Avoma" created="Mon, 4 Oct 2021 11:35:38 +0200"/>
                            <attachment id="11327" name="Screen Shot 2012-10-29 at 13.15.49.png" size="1372045" author="robbielee1" created="Mon, 29 Oct 2012 14:18:34 +0100"/>
                            <attachment id="11205" name="railes.png" size="436738" author="ricardo_stryki" created="Sun, 28 Oct 2012 01:26:21 +0200"/>
                            <attachment id="444977" name="setup.png" size="263361" author="Avoma" created="Mon, 4 Oct 2021 11:16:45 +0200"/>
                    </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>Tue, 16 Jun 2020 22:29:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11901" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Category</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11605"><![CDATA[Block states]]></customfieldvalue>
    <customfieldvalue key="11704"><![CDATA[Minecart]]></customfieldvalue>
    <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>15.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|i0jgpr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12201" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Triaged Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 12 Feb 2020 09:37:28 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>