The bug
When you are looking at a sign with a clickevent that has the lit state set to true while holding a glow ink sac in the mainhand and the offhand at the same time or when you are looking at a sign with a clickevent that has the lit state set to false while holding a normal ink sac in the mainhand and the offhand at the same time and right click, the command of the clickevent doesn't run.
How to reproduce
Run this command to get a sing with a click event:
/give @s oak_sign{BlockEntityTag:{Text1:'{"text":"Hello!","clickEvent":{"action":"run_command","value":"/summon minecraft:evoker_fangs"}}'}} 1
Place the sign
Put a glow ink sac in your offhand and hold a glow ink sac in your mainhand
Right click
→ ✔ The evoker fangs get spawnedRight click again
→ ❌ The evoker fangs don't get spawned, because the sign is litHold a normal ink sac in your off hand and hold a normal ink sac in your mainhand
Right click again
→ ✔ Evoker fangs do get spawnedRight click again
→ ❌ Evoker fangs don't get spawned, because the sign is unlit
Expected result: When ever you right click the sign it spawned evoker fangs.
Related issues
relates to
Attachments
Comments


Now in 21w10a it doesn’t even require you to hold an ink sac or a glow ink sac in both hands at the same time anymore. Because MC-212168 was fixed it uses an NBT tag instead of a block state for the glow and when you right click a glowing sign with a glow ink sac or a non glowing sign with a normal ink sac it will play a hand animation but not execute the click event.
I can reproduce the behavior up to 1.19.4, in 23w12a and 23w13a none of the commands work, and from 23w14a I can no longer reproduce the behavior with the updated command.
/give @s oak_sign{BlockEntityTag:{front_text: {messages:['{"text": "Click me", "clickEvent":{"action": "run_command", "value": "summon minecraft:evoker_fangs"}}','{"text":""}','{"text":""}','{"text":""}']}} 1