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-275518 Rail not updated by redstone Resolved MC-275932 powered rails dont update properly Resolved MC-263385 Powered Rails don't update Resolved MC-239800 powered rail work without redstone Resolved MC-233149 Powered rails not updating when a redstone block is placed next to an already powered Powered rail Resolved

Attachments

Comments 108

<Comment removed by MOD>

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

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