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
/time set night
/fill ~1 ~ ~1 ~9 ~1 ~4 stone
/fill ~1 ~2 ~1 ~9 ~2 ~1 minecraft:redstone_wire
/fill ~1 ~2 ~4 ~9 ~2 ~4 minecraft:redstone_wire
/setblock ~1 ~2 ~1 minecraft:oak_button[face=floor]
/setblock ~1 ~2 ~4 minecraft:birch_button[face=floor]
/setblock ~2 ~ ~2 minecraft:oxidized_copper_door[facing=north,half=lower,hinge=right,open=false,powered=false]
/setblock ~2 ~1 ~2 minecraft:oxidized_copper_door[facing=north,half=upper,hinge=right,open=false,powered=false]
/setblock ~4 ~ ~2 minecraft:oxidized_copper_door[facing=north,half=lower,hinge=right,open=false,powered=false]
/setblock ~4 ~1 ~2 minecraft:oxidized_copper_door[facing=north,half=upper,hinge=right,open=false,powered=false]
/setblock ~6 ~ ~2 minecraft:oak_door[facing=north,half=lower,hinge=right,open=false,powered=false]
/setblock ~6 ~1 ~2 minecraft:oak_door[facing=north,half=upper,hinge=right,open=false,powered=false]
/setblock ~8 ~ ~2 minecraft:oak_door[facing=north,half=lower,hinge=right,open=false,powered=false]
/setblock ~8 ~1 ~2 minecraft:oak_door[facing=north,half=upper,hinge=right,open=false,powered=false]
- 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
- 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
- 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
- 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
- Put the following command into the 4 command blocks that you just placed:
summon minecraft:villager ~ ~ ~1 {NoAI:1b} - 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
- 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}}}},{}]} - 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
- Put the following command into that command block:
summon zombie ~ ~ ~-1 {CanBreakDoors:1b} - 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
- 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}}}},{}]} - 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
- Put the following command into that command block:
summon zombie ~ ~ ~-1 {CanBreakDoors:1b} - Break the 2 stone blocks behind each door
- Press the birch button
- 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.
2024-05-30, 09:39 PM
2024-06-22, 12:28 PM
2024-06-22, 12:28 PM
0
0
-