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

Using a sign with invalid JSON in BlockEntityTag places sign but does not increase sign usage statistics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 1.10.2, Minecraft 16w36a, Minecraft 1.12.1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w03c, Minecraft 19w04b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, 1.15.2, 20w17a, 20w21a, 1.16 Pre-release 2, 1.16.4, 20w46a, 20w48a
    • Confirmed
    • (Unassigned)

      The bug

      When you try to place a sign item with invalid JSON data in the BlockEntityTag, the sign is placed but the score for the objective type minecraft.used:minecraft.signType_sign does not increase.

      How to reproduce

      1. /scoreboard objectives add signsPlaced minecraft.used:minecraft.oak_sign
      2. /scoreboard objectives setdisplay sidebar signsPlaced
      3. Use the following command to get a sign item with invalid JSON data
        /give @s oak_sign{BlockEntityTag:{Text1:"Invalid JSON"}}
        
      4. Try to place the sign
        → The sign is placed but the score does not increase

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: