Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-152751

/testforblocks fails with powered dragon heads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.20.29 Beta, 1.18.12 Hotfix, 1.20.60.25 Preview, 1.20.60.24 Preview, 1.20.51 Hotfix
    • None
    • Confirmed
    • Windows
    • 727788

      The bug

      When comparing two dragon head blocks with /testforblocks, if either of the blocks have ever been powered, the comparison fails, even if the blocks are identical.

      How to reproduce

      1. Place two dragon heads, ensuring they are facing the same direction.
      2. Place a redstone block next to one or both.
      3. /testforblocks <block1> <block1> <block2> all

      Expected result
      Success message: 1 blocks compared

      Actual result
      Error message: Source and destination are not identical

      Cause

      Dragon heads save a timer to NBT. As a result the animation that should be entirely client-side is implemented on the server. See also MCPE-152603 and MCPE-113669

            tryashtar [Mod] tryashtar
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: