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

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 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
    • None
    • Community Consensus
    • Commands, Data Packs, Enchantments
    • Low

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chumbanotz Chumbanotz
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              CHK: