mojira.dev
MC-957

Powered rails do not update when additional power sources are added or removed

The bug

Powered rails do not update when additional power sources are added or removed.

How to reproduce

  1. Build the setup as shown in the attachment below (

[media]
  1. )

  2. Place a redstone block on top of the diamond block

  3. Take note of how many powered rails are activated

  4. Place a redstone block on top of the emerald block

  5. Once again, take note of how many powered rails are activated

  6. Take note as to whether or not powered rails update when additional power sources are added or removed
    → ❌ Powered rails do not update when additional power sources are added or removed

Expected behavior

Powered rails would update when additional power sources are added or removed.

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

MC-10947 Odd Powered Rail behavior with Redstone Blocks and torches Resolved MC-49318 Rails powered by redstone don't update when you break torches Resolved MC-60708 Redstone torch and powered rails Resolved MC-65748 Powered Rail "power level" does not propagate properly Resolved MC-68447 Powered rails will not extend their distance correctly when redstone updates. Resolved

Attachments

Comments 108

kourchenkofouters

<Comment removed by MOD>

Ricardo Stryki

I'm spanish don't insult me man

Recreated in 1.4.2, moving the torch doesn'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't update from their powered state once the torch is moved.

As you can see from the screenshot, more rails are powered one side of the torch than should be powered due to this bug.

Confirmed for 12w49a

98 more comments

Can confirm, bug still occurs in 1.20.2 Pre-release 2.

This could be fixed in the experimental redstone improvements hopefully

kaktusmisapolak

confirmed in 1.21.1

Confirm 1.21.5

Can reproduce this 2012 (LOL) bug in 1.21.8

Ricardo Stryki

Avoma

(Unassigned)

Confirmed

Platform

Low

Block states, Minecart, Redstone

power, powered_rail, rails, redstone, update, update-failure

Minecraft 1.4.1, Minecraft 1.4.2, Snapshot 12w49a, Minecraft 1.4.6, Minecraft 1.4.7, ..., 25w08a, 1.21.5, 1.21.6, 1.21.7, 1.21.8

Retrieved