Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-79659

Placing a second slab on a slab plays the wrong sound event

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.50.25 Preview, 1.20.20.20 Preview, 1.17.30.22 Beta, 1.17.11 Hotfix, 1.16.0.63 Beta, 1.16.0.61 Beta, 1.16.201 Hotfix, 1.16.221 Hotfix, 1.20.1 Hotfix, 1.20.15 Hotfix, 1.21.43 Hotfix
    • None
    • Confirmed
    • Multiple
    • 360996

      When placing a second slab on one slab, to create a double slab block, the wrong sound event from the block sound type is called in sounds.json. The game is supposed to call the place event, but it calls the item.use.on event instead. This bug is the partial cause of MCPE-155381.

      This causes a noticeable difference in placement sounds for some blocks:

      slab_lower_vs_upper.mp4

      This interferes with the intended purpose of the item.use.on event: item interactions, like stripping wood, tilling dirt, and flattening a path. Since these sounds overlap, any resource pack which changes a block interaction sound ends up changing the second slab placing sound too.

      Steps to reproduce:

      1. Download and apply the attached sample resource pack: SlimyStripWoodSounds.mcpack
      2. Strip a log.
      3. Notice the slime sound used to differentiate the item.use.on event.
      4. Place an oak slab.
      5. Notice the normal wood place sound.
      6. Place a second oak slab on top of the first to create a double oak slab.
      7. Notice the slime sound instead of the wood place sound.

      Expected result:
      Placing a second slab on a single slab plays the same sound as placing the slab anywhere else.

      Observed result:
      Placing a second slab on a single slab plays the item use sound instead of the place sound.

            Infected__ WingDing
            Votes:
            16 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: