mojira.dev
MCPE-30544

Observer doesn't detect curved rail changing direction

Bug description

Observers cannot detect a corner rail switching its direction. This is because the rail state change does not cause a block update, which is required for observers in Bedrock to activate. I think rail-switching should cause block updates.

Steps to reproduce

  1. Build a rail intersection, with a corner rail placed on top of an observer whose output is facing downward into redstone wire directly below the observer.

  2. Power the corner rail using redstone. Notice that the observer doesn't activate.

Linked issues

Attachments

Comments 23

Upvoted. Can confirm, though I do not think that the bedrock edition is that much updated as the Java edition. I don't think they added that feature yet. Also I attached a clip of it.

SuperGeniusZeb

@unknown, I didn't see any attached clip (maybe your upload failed), so I made my own demonstration video and uploaded it.

Also, it should be noted that the basic behavior of observers in Java Edition and Bedrock is currently fundamentally different in the 2 codebases. In Java Edition, observers detect block state and ID changes, regardless of whether or not they cause a block update. In Bedrock, observers detect block updates, which are not caused by all state/ID changes in Bedrock currently, and block state changes are not the only thing that can cause block updates. (Actually, Bedrock technically doesn't have modern block states yet... just numeric metadata values, so I guess the proper term for Bedrock is "metadata/ID changes".) Coincidentally, the things that activate an observer in one codebase are almost the same in both codebases, but there are a few cases where the difference in functionality causes a difference in observable behavior.

In this case, the rail changes its metadata value, which I think SHOULD cause a block update, but currently does not in Bedrock, hence this bug report.

silentwisperer

Affects 1.13 on windows 10 and xbox one

According to the Minecraft Wiki, observers detect block state changes on Java and block updates on Bedrock. This bug exists because rails do not create block updates when they re-orient.

This is actually intended, like Blobs said, observers in bedrock detect block updates, not state changes.

13 more comments

Affects 1.17.30

Affects 1.18.2

Affects 1.19.20

Affects 1.19.31

Minecraft386882

Confirmed in 1.21.44

SuperGeniusZeb

(Unassigned)

135700

Confirmed

Multiple

block-update, observer, rail, redstone

1.17.11 Hotfix, 1.17.20.23 Beta, 1.17.20.22 Beta, 1.17.10, 1.16.210.60 Beta, ..., 1.18.2 Hotfix, 1.19.31 Hotfix, 1.20.51 Hotfix, 1.21.44 Hotfix, 1.21.51 Hotfix

Retrieved