mojira.dev
MCPE-29548

Relogging can cause observers to emit pulses

Edit by @unknown, updated by @unknown:
Original test world was unreliable because it had the observer looking at lit redstone dust across a chunk border. Test world and description updated to include other blocks on November 2, 2021.

Observers looking at several kinds of blocks emit a pulse on world reloading. The attached test world demonstrates the bug. The following blocks were tested in 1.17.41 Hotfix:

Block

Triggers observer pulse on relog

Lit redstone dust

unlit redstone dust

Redstone torch (lit or unlit)

Repeater (powered or unpowered)

Comparator (powered or unpowered)

Empty single chest / barrel

Empty double chest

Chest / barrel with item in it

Dropper (empty or with item)

Item frame

Glow item frame

Tripwire with mob on it

Pressure plate with mob on it

inconsistent

Mob head

Campfire

Cauldron

Steps to reproduce:

  1. Open the attached world.

  2. Close and open it again.

  3. See what the dispenser does.

Strangely, the pulse is too short (0 ticks maybe?) for dispensers to trigger so you need a repeater to make the pulse a bit longer.

Related issues

BDS-16869 Observer moves on its own, when I log in to world. BDS-19542 observers output a signal when detecting powered redstone dust upon loading a world MCPE-23467 Observer activates when opening world. MCPE-32016 Powered (unchanging) Redstone dust causes an observer to update when reloading a world MCPE-36209 Observers activate when chunks are reloaded. MCPE-37788 Observer activates when detects powered redstone dust after loading the world again MCPE-46656 Observers with item frames placed on the front will activate upon loading of world MCPE-51725 Powered observers send out pulse upon relogging MCPE-53354 unexpected update of observer MCPE-54912 Observer behaivior MCPE-57607 Observers randomly trigger when facing a box with all slots filled MCPE-80648 Double chests and observers MCPE-83086 observer MCPE-112893 Observer block looking at chest pulses on relog if chest is not empty MCPE-112898 Campfire Causing Block Update on Loading World MCPE-154815 Observers exposed to powered redstone send out a signal while the world is loading. MCPE-158580 Containers with items will trigger observers when a world is loaded. MCPE-167881 Observer triggers on login MCPE-170797 Random trigger of observer block MCPE-184491 Copper Bulbs turn off MCPE-184504 Redstone signal bug when starting a world MCPE-186395 Observers emit impulses when reloading the world MCPE-187691 Observers can fire on world load MCPE-190175 Issues when loading the world and checking redstone systems. MCPE-191171 Copper bulb MCPE-218275 Hoppers unlock for one tick upon login (may be an observer issue)

Attachments

Comments

migrated
[media][media][media][media][media][media][media]
GunsAndChips

Thanks PHO! I didn't perform enough testing to realise that it was only due to the observer, and I'm glad you've deduced that.

CtrlAltCuteness

I can confirm in stable 1.6.1 that it is `redstone_wire` that is powered (error message of `/testforblock <pos> redstone_wire 0` says about a different data value).

Edit: Using a normal Piston for the output can also detect the result easily (put a pushable block on its face)

silentwisperer

Still affects all updates until 1.11.4

silentwisperer

Also affects 1.12 and 1.13 updates

migrated

(Tested before reported - from 'Technical Bugs List' https://docs.google.com/document/d/1nziKYzCr4pBdCRj2gIMlfr9MVdWHd6HyafdiBHx9F0c/edit)

This issue happens in 1.15.0.53 also.

migrated

Hi Tal,

How have you tested this in 1.15? Changes were made to observers from my understanding so its possible this behaves differently now, are you able to upload footage of your test?

Ionic

migrated

@unknown

I tested it as I said... in the game, you can see the video right now in the attachments.

And the only one thing that changed in 1.15 to observers is the fact that observers won't detect a change when gets placed, here is the changelog if you want:

https://feedback.minecraft.net/hc/en-us/articles/360040027711-Minecraft-Beta-1-15-0-53-Xbox-One-Windows-10-Android-

In any case, it's not in any way related to this problem.

From now on I will always have to do this? It's pretty frustrating

migrated

It helps us to confirm that it has actually been tested (and isn't just someone bumping a thread they want fixed) so we can update the affected versions.

I also got a little confused by it saying "Tested before reported", wasn't sure if that meant it was tested prior to being reported on the tracker. All good, have updated the affected versions for you.

migrated

I have a theory as to why observers detect powered redstone dust upon relog.

It might be because the game doesn't save anything redstone related and has to recalculate which blocks are powered and things like that, meaning the dust actually changes state, which the observer then detects. This could probably be fixed by just saving that information when you leave the game.

It should also be noted that this does not occur when chunks are unloaded and reloaded, nor when you leave and rejoin someone else's world. This is part of the reason why I think the saving process is to blame.

migrated

Observers also fire on relog when facing double chests. Doesn't happen with single chests

migrated

Just found this ticket for this issue. I originally reported this as MCPE-25840 long ago but it got closed for inactivity.

migrated

Affects 1.16.100.53

migrated

Affects 1.16.100.55 Beta.

migrated

Affects 1.16.100.56 beta.

migrated

Affects 1.16.100.58 Beta.

migrated

Affects 1.16.210

migrated

I found this bug in a multi item sorter that I plan to build. I did some testing and here is a list of blocks that when observed occur thus bug:

Powered redstone

Item frames (with or wothout items)

Container blocks with a minimum of 1 item (with the exeption of hoppers). (When the containwr has no items this bug does not occur)

Double chests (with or without any item)

 

I tested on the version 1.16.210 on bedrock edition

silentwisperer

affects 1.16.220.2, and current betas.

migrated

Affects 1.17.0.50

migrated

Affects 1.17.11

I have a contraption in which when you light up a campfire, an observer detects it and triggers some dispensers that light up other campfires in the area. The observer is connected to a piston and appearently the relogging pulse is long enough to trigger the piston and make me find the campfires always lit, which is not supposed to be.

migrated

Affects 1.17.30

migrated

Players are designing reload proof 2-way flying machines using this bug. It would be helpful to know if Mojang plans to fix these or not

migrated

This bug continues to affect 1.18.2

I have a sugar cane farm harvested by a two way flying machine, and the hopper minecarts which collect it all are activated and deactivated by a dropper-hopper based flip-flop which is pulsed through a repeater by observers when the machine leaves or arrives at a station. On loading the world, one of the two observers is facing lit redstone, and that observer fires and triggers the flip flop, reversing the activation/deactivation of the minecart unless it is manually reset after loading. 

migrated

Affects 1.18.10 with Barrels. On Nintendo Switch.

migrated

I hope Mojang fixes this because reload proofing forces me to redesign my stuff

migrated

Affects 1.19.20

migrated

It could be useful to have a couple of specific objects do this as a part of game mechanic (by design) way of detecting loading. But most of the current list could make redstone designs unnecessarily more complicated.

migrated

1.19.31

migrated

1.19.51 as well

migrated

1.20.15 as well

migrated

Issue present in 1.21

 

This is breaking a number of shulker loader designs which are in high demand with the new Crafter block.  Hopefully this gets fixed urgently as it makes the Crafter less useful

migrated

The addition of copper bulbs has really exacerbated this issue. I've made a few designs now with observers toggling copper bulbs, and they work fine when the world stays loaded but (sometimes, unpredictably, in some chunks but not others) lose their minds on save/restore since the bulb state gets toggled when nothing happened. At first I thought it was an issue with save/restore of copper bulbs themselves, but I eventually traced it to this long-standing observer bug.

migrated

Attached world ("MCPE-29548") with a copper bulb repro case. Observer watches redstone dust (toggled by lever) and powers bulb. The mechanism does not cross a chunk border.

Expected behavior: redstone dust and observer bulb stay in sync (both active or neither active) including across world save/load.

Observed behavior: powering dust then relogging results in out-of-sync state (dust powered, bulb off).

GunsAndChips

I'm guessing this probably also relates to MCPE-180268 (found it through mutually related bug MCPE-179848)

GunsAndChips

(updated with behaviour for barrels, which matches single chests, tested in 1.21.51)

GunsAndChips

(Unassigned)

94243 / 95333

Confirmed

Windows

Windows 10 Pro

redstone

1.18.10.21 Beta, 1.18.0.24 Beta, 1.17.11 Hotfix, 1.17.0.50 Beta, 1.16.220, ..., 1.21.2 Hotfix, 1.21.22 Hotfix, 1.21.23 Hotfix, 1.21.40, 1.21.51 Hotfix

Retrieved