Mojira Archive
MC-271543

Mining Sound doesn't play when item is being modified

Expected behaviour:

Even when the tool used to mine a block is being modified every tick, it should play the mining sound and particles properly.

 

Observed behaviour:

Under these conditions, only the particles are spawned without any sound.
See the attached video where the left item has an enchantment that makes the item get modified every tick while mining (indicated by the "d" in the chat).

 

How to reproduce:

  • Go in survival mode
  • Place a repeating command block with the following command:
    • item modify entity @p weapon.mainhand {"function": "minecraft:set_attributes","modifiers": [ {"attribute": "minecraft:generic.max_health","name": "","amount": 0,"operation": "add_value","slot": "mainhand"}

      ]}

  • Open the world to LAN to avoid clientside interference

Won't Fix

SilicatYT

2024-05-04, 12:37 PM

2024-05-07, 07:14 AM

2024-05-07, 07:14 AM

1

1

Community Consensus

Sound

24w18a

-