mojira.dev
MC-212892

Right-clicking a non-glowing sign using an ink sac (or vice versa) doesn't fire the clickEvent

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

  1. Run this command:

    /give @p minecraft:oak_sign{BlockEntityTag:{Text1:'{"text":"[CLICK]","clickEvent":{"action":"run_command","value":"say Test"}}'}}
  1. Place the sign you've just been given

  2. 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 play

  3. Repeat step 3 while holding an 'Ink Sac'
    → ❌  You should see the hand animation play but nothing will appear in chat

Related issues

Attachments

Comments

migrated
[media]
FivesBlue

Can confirm

migrated

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.

Avoma

Can confirm in 21w08b.

migrated

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.

MMK21

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

MMK21

Affects 1.18

MMK21

Affects 1.18.1

[Mod] Jingy

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]

migrated

(Unassigned)

Confirmed

Platform

Low

Player Animation

hand-animation

21w03a, 21w05b, 21w06a, 21w08b, 1.17, 1.18.1, 1.19

23w14a

Retrieved