Mojira Archive
MC-151686

Equipment used by non-player entities doesn't consume durability

The Bug:

Tools and armor used by non-player entities don't consume durability.

This is too good for auto farms to be a feature. For example, you can use multiple foxes with swords to make giant farms.

Steps to Reproduce:

  1. Summon a fox holding a wooden sword with 1 durability on it by using the command provided below.
    /summon minecraft:fox ~ ~ ~ {HandItems:[{id:"minecraft:wooden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:fire_aspect",lvl:1}],Damage:58}}]}
  2. Summon a chicken near the fox and allow the fox to attack the chicken.
  3. Take note as to whether or not swords used by non-player entities consume durability.

Observed Behavior:

The sword can be used infinitely.

Expected Behavior:

The sword breaks.

Unresolved

Alex Ivanov

2019-05-13, 10:03 AM

2023-10-21, 07:41 AM

9

7

Confirmed

Entities

fox

Minecraft 1.14 - 1.20.1Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, 1.14.4, 20w51a, 1.16.5, 21w06a, 21w08b, 21w10a, 1.19.2, 1.19.3 Pre-release 2, 1.19.4, 1.20 Pre-release 1, 1.20.1

-