Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-271543

Mining Sound doesn't play when item is being modified

XMLWordPrintable

    • Icon: Bug 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"}

          ]}

      • Open the world to LAN to avoid clientside interference

            Unassigned Unassigned
            SilicatYT SilicatYT
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: