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

Certain mobs that can melee can't use the Fire Aspect enchantment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w18a
    • 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 2, 1.17 Pre-release 3, 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Release Candidate 1, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 5, 1.18, 1.18.1 Pre-release 1, 1.18.1, 1.18.2, 22w13a, 22w14a, 22w15a, 22w17a, 1.19 Pre-release 1, 1.19 Pre-release 2, 1.19, 1.19.2, 22w43a, 1.19.3, 23w04a, 1.19.4, 1.20 Pre-release 1, 1.20.1, 1.20.4
    • Confirmed
    • Commands, Data Packs, Enchantments
    • Low
    • Platform

      The Bug

      Some mobs that are able to melee and are given an item (by setting their NBT tag 'CanPickUpLoot' to true) that is enchanted with Fire Aspect do not set their target on fire when they attack with said item. While these mobs do not have the ability to pick up items in survival, others mobs which normally can't pick up items nor render the item being held (such as Spiders, Silverfish, Endermen, etc.) the Fire Aspect enchantment works as expected.

      Affected Mobs

      • Bee
      • Cat
      • Dolphin (Always drop item it 'holds' anyway)
      • Goat
      • Hoglin
      • Iron Golem
      • Magma Cube
      • Ocelot
      • Polar Bear
      • Rabbit (The Killer Bunny)
      • Slime
      • Wolf
      • Zoglin

      Steps to Reproduce

      • Summon any of the affected entites listed above, who are holding a sword enchanted with fire aspect, for example, a zoglin.
        /summon minecraft:zoglin ~ ~ ~ {HandItems:[{Count:1b,id:"minecraft:wooden_sword",tag:{Enchantments:[{id:fire_aspect,lvl:1}]}}]}
        
      • Double-check to see whether or not the zoglin is holding a sword enchanted with fire aspect.
        /data get entity @e[type=minecraft:zoglin,limit=1,sort=nearest] HandItems
        
      • Summon a pig nearby so that the zoglin will attack it.
      • As the zoglin attacks the pig, take note as to whether or not the pig is ignited.

      Observed Behavior

      Several entities that have melee attacks can't use the fire aspect enchantment.

      Expected Behavior

      Several entities that have melee attacks would be able to use the fire aspect enchantment.

        1. MC-213349.mp4
          4.85 MB
        2. MC-213349.png
          MC-213349.png
          664 kB

            slicedlime [Mojang] slicedlime
            chumbanotz Chumbanotz
            Votes:
            14 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: