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

Placing a second slab on a single slab plays item.use.on sound instead of place sound

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.50.25 Preview, 1.21.43 Hotfix
    • Unconfirmed
    • Multiple

      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.

      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.

            AgentMindStorm2 AgentMindStorm2
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: