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

Some hostile mobs will continue aggression towards villagers after they have turned invisible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.18.1, 22w06a
    • None
    • Confirmed
    • (Unassigned)

      The Bug

      Zombies, Zombie Villagers, Pillagers, Ravangers, Vindicators, and Husks are all able to track a villager if aggression is engaged, and then from there the villager turns invisible.

      Steps to Reproduce:

      • Spawn villager in a safe place
      • Spawn any of the listed mobs above
      • Allow the mob to become aggressive towards the villager
      • Turn the villager invisible

      Observed Results:

      Despite being invisible, the hostile mob will still be aggressive towards the villager.

      Expected Results:

      Since the villager is invisible and would not be tracked if it was invisible before aggression, it should be not be tageted once it has turned invisible.

      Notes:

      While this is similar to MC-79320, it is different as this is an issue with hostile mobs keeping aggression on invisible villagers rather than being aggressive towards invisible villagers no matter the context or when the zombie had aggression.

      While MC-161468 is very similar, it only states this happens to wandering traders, and not villagers.

      This issue also relates to MC-226362

            Unassigned Unassigned
            Jingy [Mod] Jiingy
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: