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

/testforblocks fails with enchanting tables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.17.0.50 Beta, 1.16.220, 1.16.210.61 Beta, 1.16.210.53 Beta, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.20.40.22 Preview, 1.20.30
    • None
    • Confirmed
    • Multiple
    • 454214

      The bug

      When using /testforblocks to determine if two blocks are identical, enchantment tables are always considered different, even if they are the same.

      How to reproduce

      1. /setblock ~1 ~ ~ enchanting_table
      2. /setblock ~-1 ~ ~ enchanting_table
      3. /testforblocks ~1 ~ ~ ~1 ~ ~ ~-1 ~ ~
      "Source and destination are not identical"

      Notes

      Since this only occurs with enchanting tables after the player approaches them, this is probably caused by the rotation of the book. Why the server even knows about that, let alone serializes it, is anyone's guess.

            tryashtar [Mod] tryashtar
            Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: