Mojira Archive
MC-106991

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

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

Cannot Reproduce

Marcono1234

2016-09-12, 04:06 PM

2021-02-01, 07:26 PM

2021-02-01, 07:26 PM

5

5

Confirmed

(Unassigned)

BlockEntityTag, JSON, NBT, objectives, scoreboard, use-item

Minecraft 1.10.2 - 20w48aMinecraft 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

-