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

Invulnerable Mobs Taking Environmental Damage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.17.1
    • None
    • N/A
    • Unconfirmed

      Mobs when given the invulnerable tag still take environmental damage such as suffocation and fire etc...

      What I expected to happen was...:
      Invulnerable Mobs as per the recent update can be damaged by players in creative mode, however, Multiple wikis have it described as "The mob will not take any damage from attacks or physical surroundings".

      I read the related bug reports on this bug but none of the ones I found mention environmental damage. The reason listed by staff members was

      "it is a feature which was added in the last snapshots, because many players complained that you cannot get rid of invulnerable entities."

      However, I would like to highlight that a player capable of summoning a mob containing NBT tags is most likely capable of running a radius entity kill command or has the means of obtaining that information online.

      I think the feature should include environmental damage as it becomes a liability for map makers that need to place mobs inside walls or in dangerous areas to run predicate commands etc...

      What actually happened was...:
      The Mob took damage via suffocation and other environmental damage sources

      Steps to Reproduce:
      1. /summon slime ~ ~ ~ {Invulnerable:1b}

            Unassigned Unassigned
            UltraIsPending Jean-Paul Moore-Arbour
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: