The bug
Right-clicking (or pressing your 'Use Item/Place Block' keybind if different) on a sign that isn't glowing, while holding an 'Ink Sac' doesn't run the clickEvent
, but still plays the hand animation. Same works with a 'Glow Ink Sac' on a glowing sign
How to reproduce
Run this command:
/give @p minecraft:oak_sign{BlockEntityTag:{Text1:'{"text":"[CLICK]","clickEvent":{"action":"run_command","value":"say Test"}}'}}
Place the sign you've just been given
Right-click (or press you're 'Use Item/Place Block' keybind, if different) on the sign
→ ✔ You should see "[yourUsername] Test" pop up in the chat and a hand animation playRepeat step 3 while holding an 'Ink Sac'
→ ❌ You should see the hand animation play but nothing will appear in chat
Related issues
relates to
Attachments
Comments


Can confirm

It actually does play a hand animation, because of MC-212140 but it is in the offhand. You can see it by changing to 3rd person view or putting an item in the offhand.
Can confirm in 21w08b.

Cannot be reproduced anymore in 21w10a Because MC-212168 was fixed, it now uses an NBT tag for glowing instead of a block state and now the hand animation will always play in the mainhand when right clicking the sign, however when you right click a glowing sign with a glow ink sac or a non glowing sign with a regular ink sac, it will not execute the clickEvent anymore, but play a hand animation.

Affects 1.17 in the form described by bugsbugsbugs above. I suggest the description is updated.

Affects 1.18

Affects 1.18.1
This issue was fixed in 23w14a (with the previous introduction of editable signs in 23w12a) in a change where sign commands could be executed when right-clicked:
Quote from the changelog of 23w14a:
Signs with click commands can now be interacted with even if the Sign is not waxed
Signs with non-text chat components can no longer be edited
Video showcasing the difference in 1.19.4 and 23w14a:
[media]