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
Linked issues
relates to 2
Attachments
Comments 3
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can you add steps to reproduce the issue?