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

The mining speed of blocks for non-player entities is unaffected by tools and enchantments when breaking doors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21
    • None
    • Plausible
    • (Unassigned)

      The Bug:

      The mining speed of blocks for non-player entities is unaffected by tools and enchantments when breaking doors.

      Steps to Reproduce:

      1. Build the setup as shown in the provided attachment. setup.png
      2. Ensure that the difficulty is set to "hard" and the "mobGriefing" gamerule is set to "true" by using the commands provided below.
        /difficulty hard
        /gamerule mobGriefing true
      3. While standing on top of the diamond block, summon a husk that can break doors that's holding an axe enchanted with efficiency by using the command provided below.
        /summon minecraft:husk ~ ~ ~ {HandItems:[{id:"minecraft:diamond_axe",count:1,components:{"minecraft:enchantments":{levels:{"minecraft:efficiency":5}}}},{}],CanBreakDoors:1b}
      4. Stand on the opposite side of the door as the husk, switch into survival mode, and get the husk to notice you.
      5. Watch closely as the husk begins to break down the door and take note of the speed at which it breaks it.

      Observed Behavior:

      The mining speed of blocks for non-player entities is unaffected by tools and enchantments when breaking doors.

      Expected Behavior:

      The mining speed of blocks for non-player entities would be affected by tools and enchantments when breaking doors.

        1. MC-273729.mp4
          7.88 MB
        2. MC-273729.png
          MC-273729.png
          1.98 MB
        3. setup.png
          setup.png
          950 kB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: