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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 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
    • Confirmed
    • Entities

      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.

            Unassigned Unassigned
            enderGuardian46 Alex Ivanov
            Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: