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

Note block's instrument unconditionally changes with moving piston underneath

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.2, 22w15a
    • None
    • Unconfirmed
    • (Unassigned)

      For a note block, if the base block underneath is pushed by a piston, no matter whether the new base block is the same as the old one, the note block's instrument will unconditionally changes to "harp" for a short period, because the base block is replaced by "moving piston" during piston pushing.

       

      This behavior prevents the observer from telling the player whether the instrument (the base block's type) has changed, because observer will unconditionally emit a pulse for the temporary wrong "harp" instrument.

       

      Therefore, personally I think the note block should not respond to state update derived from "moving piston", so note block's instrument type will be consistent if its base block type is consistent.

        1. 2022-04-20_15.59.16-1.png
          2022-04-20_15.59.16-1.png
          900 kB
        2. 2022-04-20_15.59.18-3.png
          2022-04-20_15.59.18-3.png
          888 kB
        3. 2022-04-20_15.59.27-1.png
          2022-04-20_15.59.27-1.png
          879 kB
        4. 2022-04-20_15.59.35-1.png
          2022-04-20_15.59.35-1.png
          888 kB
        5. 2022-04-20_15.59.56-1.png
          2022-04-20_15.59.56-1.png
          911 kB
        6. 2022-04-20_16.00.00-1.png
          2022-04-20_16.00.00-1.png
          904 kB
        7. 2022-04-20_15.59.47-1.png
          2022-04-20_15.59.47-1.png
          910 kB
        8. 2022-04-20_16.00.07-1.png
          2022-04-20_16.00.07-1.png
          900 kB

            Unassigned Unassigned
            Vigilans Vigilans
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: