Mojira Archive
MC-272737

The mining speed by zombies and similar mobs is unaffected by tools and enchantments when breaking doors

This could be seen as a feature request, but the decision ultimately rests with Mojang. Currently, when a zombie, zombie villager, husk, or zombified piglin breaks a door, the mining speed is unaffected by tools or enchantments on the tool, which contrasts with player mechanics. Ideally, zombies wielding axes should break wooden doors faster, while those with pickaxes should break copper doors faster. Furthermore, if the tool possesses efficiency, it would be reasonable to expect the door to be broken even more swiftly.

Steps to reproduce

  1. /time set night
  2. /fill ~1 ~ ~1 ~9 ~1 ~4 stone
  3. /fill ~1 ~2 ~1 ~9 ~2 ~1 minecraft:redstone_wire
  4. /fill ~1 ~2 ~4 ~9 ~2 ~4 minecraft:redstone_wire
  5. /setblock ~1 ~2 ~1 minecraft:oak_button[face=floor]
  6. /setblock ~1 ~2 ~4 minecraft:birch_button[face=floor]
  7. /setblock ~2 ~ ~2 minecraft:oxidized_copper_door[facing=north,half=lower,hinge=right,open=false,powered=false]
  8. /setblock ~2 ~1 ~2 minecraft:oxidized_copper_door[facing=north,half=upper,hinge=right,open=false,powered=false]
  9. /setblock ~4 ~ ~2 minecraft:oxidized_copper_door[facing=north,half=lower,hinge=right,open=false,powered=false]
  10. /setblock ~4 ~1 ~2 minecraft:oxidized_copper_door[facing=north,half=upper,hinge=right,open=false,powered=false]
  11. /setblock ~6 ~ ~2 minecraft:oak_door[facing=north,half=lower,hinge=right,open=false,powered=false]
  12. /setblock ~6 ~1 ~2 minecraft:oak_door[facing=north,half=upper,hinge=right,open=false,powered=false]
  13. /setblock ~8 ~ ~2 minecraft:oak_door[facing=north,half=lower,hinge=right,open=false,powered=false]
  14. /setblock ~8 ~1 ~2 minecraft:oak_door[facing=north,half=upper,hinge=right,open=false,powered=false]
  15. Replace the stone block 2 blocks below the redstone wire that has a power level of 15 when pressing the oak button with a command block
  16. Replace the stone block 2 blocks below the redstone wire that has a power level of 13 when pressing the oak button with a command block
  17. Replace the stone block 2 blocks below the redstone wire that has a power level of 11 when pressing the oak button with a command block
  18. Replace the stone block 2 blocks below the redstone wire that has a power level of 9 when pressing the oak button with a command block
  19. Put the following command into the 4 command blocks that you just placed:
    summon minecraft:villager ~ ~ ~1 {NoAI:1b}
  20. Replace the stone block 2 blocks below the redstone write that has a power level of 15 when pressing the birch button with a command block
  21. Put the following command into that command block:
    summon zombie ~ ~ ~-1 {CanBreakDoors:1b,HandItems:[{id:"minecraft:netherite_pickaxe",count:1,components:{"minecraft:enchantments":{levels:{"minecraft:efficiency":5}}}},{}]}
  22. Replace the stone block 2 blocks below the redstone write that has a power level of 13 when pressing the birch button with a command block
  23. Put the following command into that command block:
    summon zombie ~ ~ ~-1 {CanBreakDoors:1b}
  24. Replace the stone block 2 blocks below the redstone write that has a power level of 11 when pressing the birch button with a command block
  25. Put the following command into that command block:
    summon zombie ~ ~ ~-1 {CanBreakDoors:1b,HandItems:[{id:"minecraft:netherite_axe",count:1,components:{"minecraft:enchantments":{levels:{"minecraft:efficiency":5}}}},{}]}
  26. Replace the stone block 2 blocks below the redstone write that has a power level of 9 when pressing the birch button with a command block
  27. Put the following command into that command block:
    summon zombie ~ ~ ~-1 {CanBreakDoors:1b}
  28. Break the 2 stone blocks behind each door
  29. Press the birch button
  30. Press the oak button

Observed result: All doors were broken at the exact same time.
Expected result: The zombie with the efficiency 5 netherite pickaxe should break the copper door faster than the zombie without the pickaxe and the zombie with the efficiency 5 netherite axe should break the oak door faster than the zombie without the axe.

Invalid

No User

The grandpa of minecraft

2024-05-30, 09:39 PM

2024-06-22, 12:28 PM

2024-06-22, 12:28 PM

0

0

Unconfirmed

(Unassigned)

1.20.6, 1.21 Pre-Release 1

-