Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-277278

Placing a powered observer with a command only works on the second try

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.1, 24w40a, 1.21.2 Pre-Release 1, 1.21.2 Pre-Release 2
    • None
    • Confirmed
    • Block states, Commands
    • Normal
    • Platform

      1. When placing an observer with its "powered" blockstate set to "true" via command, it will be placed with it set to "false". (Unlike MC-277277 the observer doesn't even detect a block update first, to turn off afterwards, but starts out as unpowered.)

      • /setblock ~ ~ ~2 minecraft:observer[powered=true]
      • /fill ~ ~ ~2 ~ ~ ~2 minecraft:observer[powered=true]

      2. Executing the same command a second time & thus replacing the unpowered observer (not just any block) will then make it stay powered as was expected from the first execution. (Every consecutive execution of the same command will then result in it failing as expected, because the block doesn't change anymore.)

      • Execute the same command again

        1. 2024-10-04_22.09.14.png
          2.32 MB
          E_T_31
        2. 2024-10-04_22.09.16.png
          2.33 MB
          E_T_31

            Unassigned Unassigned
            E_T_31 E_T_31
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: