mojira.dev
MCPE-176853

When replacing observer by setblock or fill, its output direction doesn't change

Steps to reproduce:
Create a new world and place any solid block and stand on there.

  1. First way
    1-1. Place a observer using /setblock ~~-1 ~ observer ["minecraft:facing_direction"="west"] or just place a observer but facing west.
    1-2. Place a block that updates using redstone (like redstone dust) in front of (observer input direction) a observer.
    1-3. Place a observer using /setblock ~~-1 ~ observer ["minecraft:facing_direction"="east"].
    1-4. Place a block that updates using redstone (like redstone dust) in front of (observer input direction) a observer.

  2. Second way
    2-1. Place a observer using /setblock ~~-1 ~ observer ["minecraft:facing_direction"="east"] or just place a observer but facing east.
    2-2. Place a block that updates using redstone (like redstone dust) in front of (observer input direction) a observer.
    2-3. Place a observer using /setblock ~~-1 ~ observer ["minecraft:facing_direction"="north"].
    2-4. Place a block that updates using redstone (like redstone dust) in front of (observer input direction) a observer.

Related to MCPE-149124

Video that reproducing this bug: https://drive.google.com/file/d/1PJ_iPq2nHgSTSrfRpV5sxXCRfdhN8PQw/view?usp=sharing

Linked issues

Attachments

Comments 5

[media][media][media][media]

Your report does not contain enough information to understand or reproduce the problem.
What does "strangely" mean? Please include both Observed and Expected results.
Please use the following information to the Description, as shown here:

Steps to Reproduce:
1. (list every step carefully, so someone else can reproduce the issue, and try following your list to make sure you can still reproduce the issue yourself)
2.
3.
Observed Results:
(briefly describe what you see happen, including any message(s) shown)
Expected Results:
(briefly describe what should happen)

Use screenshots or video to help explain (but not replace) the above information

This report has been temporarily resolved as Awaiting Response. It will automatically reopen when you add information. Please follow the format shown and include all sections (steps, observed, expected). Reports that do not contain all of the requested information and complete steps to reproduce the issue may be closed as Incomplete. For more information please read the Bug Tracker Guidelines.

Many players find this Bug Report Creation Form useful for filling in all helpful information.

Your report does not contain enough information to understand or reproduce the problem.
What does "strangely" mean? Please include both Observed and Expected results.
Please use the following information to the Description, as shown here:

Steps to Reproduce:
1. (list every step carefully, so someone else can reproduce the issue, and try following your list to make sure you can still reproduce the issue yourself)
2.
3.
Observed Results:
(briefly describe what you see happen, including any message(s) shown)
Expected Results:
(briefly describe what should happen)

Use screenshots or video to help explain (but not replace) the above information

This report has been temporarily resolved as Awaiting Response. It will automatically reopen when you add information. Please follow the format shown and include all sections (steps, observed, expected). Reports that do not contain all of the requested information and complete steps to reproduce the issue may be closed as Incomplete. For more information please read the Bug Tracker Guidelines.

Many players find this Bug Report Creation Form useful for filling in all helpful information.

Hi there, let me shed some light on this issue. First off, this not only affects /setblock, but it also affects Block.setPermutation() in the Script API. Second, instead of only observers, this bug affects any block that receives or transmits redstone power.

Additional Video:

[media]

Simpler steps to reproduce:
1. Open a world and place down a redstone block.
2. Place a repeater so that it is powered by the redstone block.
3. Change the "cardinal_direction" state of the repeater using either the /setblock command or the Script API.
4. Remove and replace the redstone block, watching as the repeater turns on and off while facing the wrong direction.

Expected results: When changing the direction, facing_direction, orientation, cardinal_direction, etc., of a block that can be powered by or emits redstone, the changed block updates where it receives and emits redstone power.
Observed results: When changing the direction, facing_direction, orientation, cardinal_direction, etc., of a block that can be powered by or emits redstone, the changed block does not update where it receives or emits redstone power.

good7777865

(Unassigned)

1146880

Confirmed

Multiple

BlockUpdate, FillCommand, Observer, setblock

1.20.50.24 Preview, 1.20.41 Hotfix, 1.21.40.21 Preview, 1.21.30

Retrieved