mojira.dev
MC-212420

Sign dyeing sound and hand animation plays even when not consuming a dye

The Bug

When you try to dye a sign that is already painted with that color, the dye in your hand does not consume, but the "Dye stains" sound still plays and the hand animation still occurs. Eg. in the attached picture, I click on a white text sign with a white dye and no item is consumed. Howewer, it can be seen from the subtitles that a sound plays.

Steps to Reproduce

  • Summon a sign that has some text and a magenta dye already applied to it.

    /setblock ~ ~ ~ minecraft:dark_oak_sign{Color:"magenta",Text1:'{"text":"MC-212420"}'}
  • Obtain a magenta dye, switch into survival mode, and attempt to apply it to the sign you just summoned.

  • Take note as to whether or not the hand animation and sign dying sounds play even when not consuming dyes.

Observed Behavior

The hand animation and sign dying sounds play even when not consuming dyes.

Expected Behavior

The hand animation and sign dying sounds would not play when not consuming dyes.

Attachments

Comments

migrated
[media][media][media][media]
Avoma

Can confirm in 21w14a.

Avoma

Can confirm in 21w15a. Video attached.

Avoma

Can confirm in 21w16a.

Avoma

Can confirm in 1.17.

Avoma

Can confirm in 1.17.1.

Avoma

Can confirm this behavior in 21w42a. Here are some extra details regarding this problem.

The Bug:

The hand animation and sign dying sounds play even when not consuming dyes.

Steps to Reproduce:

  • Summon a sign that has some text and a magenta dye already applied to it.

/setblock ~ ~ ~ minecraft:dark_oak_sign{Color:"magenta",Text1:'{"text":"MC-212420"}'}
  • Obtain a magenta dye, switch into survival mode, and attempt to apply it to the sign you just summoned.

  • Take note as to whether or not the hand animation and sign dying sounds play even when not consuming dyes.

Observed Behavior:

The hand animation and sign dying sounds play even when not consuming dyes.

Expected Behavior:

The hand animation and sign dying sounds would not play when not consuming dyes.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

Avoma

Can confirm in 1.19 and 22w24a.

Avoma

Can confirm in 1.19.2.

[Mod] Jingy

This issue was fixed in 23w12a, when editing signs was added to the game. Now when using dye on a sign, the sound and hand animation play only once. If the sign is waxed, it is no longer possible to edit, therefore making this issue no longer reproducable at all.

Video showcasing the difference in 1.19.4 and 23w12a:

[media]


Important note: The hand animation plays twice in 23w12a, which seems unexpected, but is the desired affect. The hand animation plays once for using the dye, then once for opening the GUI. (notice how the sound only plays once).

migrated

(Unassigned)

Confirmed

Gameplay

Low

Player Animation, Sound

hand-animation

21w03a, 21w07a, 21w14a, 21w15a, 21w16a, ..., 1.19, 1.19.1, 1.19.2, 1.19.3, 23w04a

23w12a

Retrieved