mojira.dev
MC-115643

Can't hear punching blocks with 'Friendly Creatures' volume off

The bug

When turning the Friendly Creatures volume off, I can't hear punching blocks in survival mode. That may affect some other sound effects but I've noticed only that.

Code analysis

Based on 1.11.2 decompiled using MCP 9.35 rc1

The method net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerDamageBlock(BlockPos, EnumFacing) plays the block breaking sound for the NEUTRAL category instead of BLOCKS.

Linked issues

Attachments

Comments

violine1101

Transferred assignee, resolution and fix version from MC-156589, which is a duplicate of this ticket.

m.mwti

Erik Broes

Confirmed

Sound

sound, volume

Minecraft 1.11.2, Minecraft 17w14a, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 1.13.1, Minecraft 1.14.2, 1.14.4

19w34a

Retrieved