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
/scoreboard objectives add signsPlaced minecraft.used:minecraft.oak_sign
/scoreboard objectives setdisplay sidebar signsPlaced
- Use the following command to get a sign item with invalid JSON data
/give @s oak_sign{BlockEntityTag:{Text1:"Invalid JSON"}} - Try to place the sign
→ The sign is placed but the score does not increase
2016-09-12, 04:06 PM
2021-02-01, 07:26 PM
2021-02-01, 07:26 PM
5
5
BlockEntityTag, JSON, NBT, objectives, scoreboard, use-item
-