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
is duplicated by 10
5 more links
MC-153777
Mining grass sound under friendly mobs.
Resolved
MC-156589
Volume slider for peaceful creatures affects the block breaking volume level.
Resolved
MC-157667
"breaking block" sound is considered as friendly creatures instead of blocks
Resolved
MC-157887
Sounds made when breaking block stored under "Friendly creatures" instead of "Player"
Resolved
MC-158510
[1.14.4] Mining sound is affected by "friendly creatures" volume slider
Resolved
Transferred assignee, resolution and fix version from MC-156589, which is a duplicate of this ticket.