-
Bug
-
Resolution: Won't Fix
-
None
-
24w18a
-
None
-
Community Consensus
-
Sound
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"}
]}
- 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