Mojira Archive
MC-273729

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

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.

Invalid

[Mod] Avoma

2024-06-22, 12:27 PM

2024-06-27, 07:13 AM

2024-06-27, 07:13 AM

1

0

Plausible

(Unassigned)

1.21

-