mojira.dev
MCPE-79659

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

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:

[media]

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:

[media]
  1. Strip a log.

  2. Notice the slime sound used to differentiate the item.use.on event.

  3. Place an oak slab.

  4. Notice the normal wood place sound.

  5. Place a second oak slab on top of the first to create a double oak slab.

  6. 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.

Linked issues

Attachments

Comments 8

More noticeable with wooden slabs.

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response

Is this still an issue in the latest version?

If it is, please be sure to include steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Affects beta 1.20.20.20

Here is a much more detailed version of the report with the root cause identified:

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:

[media]

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:

[media]
  1. Strip a log.

  2. Notice the slime sound used to differentiate the item.use.on event.

  3. Place an oak slab.

  4. Notice the normal wood place sound.

  5. Place a second oak slab on top of the first to create a double oak slab.

  6. 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.

Since strip wood sounds were added in 1.21.60.27 preview, wooden slabs now make strip wood sounds in vanilla:

[media]

WingDing

(Unassigned)

360996

Confirmed

Multiple

1.21.100.23 Preview, 1.20.20.20 Preview, 1.17.30.22 Beta, 1.17.11 Hotfix, 1.16.0.63 Beta, ..., 1.21.60.23 Preview, 1.21.50.25 Preview, 1.21.43 Hotfix, 1.21.81 Hotfix, 1.21.93 Hotfix

Retrieved