mojira.dev
MC-299875

Items within dialogs play the "minecraft:ui.button.click" sound when clicked on

The Bug:

Items within dialogs play the "minecraft:ui.button.click" sound when clicked on.

It doesn’t make much sense that the "minecraft:ui.button.click" sound is played when an item within a dialog is clicked on. No sound is played when plain messages are clicked on, so I think items should follow the same behavior. Throughout the game, when elements within lists are selected, no sound is normally played, therefore introducing an inconsistency. For example, select a world within the singleplayer menu and observe how no sound is played upon doing so.

Steps to Reproduce:

  1. Place down a command block and paste the following command into it.

    /dialog show @p {"type":"minecraft:notice","title":"MC-299875","body":[{"type":"minecraft:item","item":{"id":"minecraft:diamond"},"description":"This is a Diamond.","show_tooltip":false},{"type":"minecraft:item","item":{"id":"minecraft:gold_ingot"},"description":"This is a Gold Ingot.","show_tooltip":false},{"type":"minecraft:item","item":{"id":"minecraft:emerald"},"description":"This is an Emerald.","show_tooltip":false}]}
  2. Activate the command block so that a dialog appears on your screen.

  3. Click on the items and text and listen closely as you do this.

Observed Behavior:

The "minecraft:ui.button.click" sound is played.

Expected Behavior:

The "minecraft:ui.button.click" sound shouldn’t be played.

Attachments

Comments 3

Hey Avoma! For me it just looks like your using Mods and that could be the Problem there.

-Toucka

Avoma

(Unassigned)

Community Consensus

Platform

Normal

Sound, UI

1.21.8

Retrieved