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

Villagers look at invisible villagers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.2, 22w12a, 22w15a, 1.19, 1.19.2, 22w46a, 1.19.3, 23w03a, 1.19.4 Pre-release 3, 1.19.4, 23w14a, 1.20.1, 1.20.4
    • Confirmed
    • Mob behaviour
    • Low
    • Gameplay

      More are less in relation with MC-116969
      That seems to be well fixed for separated mobs being not passengers.

      But mobs still look at passengers mobs being invisible, even if they are silent and have no AI.

       

      How to reproduce ?

      ----------------------

      Best example are villagers since they look at each other very quickly:

      /summon minecraft:villager ~ ~ ~ {Passengers:[{id:"minecraft:villager",Silent:1b,NoAI:1b,active_effects:[{duration:-1,amplifier:0b,id:"minecraft:invisibility"}]}]}

      Result in the screenshot "bug_report_0": the villager looks at its own invisible passenger.

      ----------------------

      You can also summon another mob having an invisible villager passenger, and another villager next to it. This last villager will look at the invisible villager riding the entity.

      /summon minecraft:cow ~ ~ ~ {Passengers:[{id:"minecraft:villager",Silent:1b,NoAI:1b,active_effects:[{duration:-1,amplifier:0b,id:"minecraft:invisibility"}]}]}
      /summon minecraft:villager ~-1 ~ ~
      

      Result in the screenshot "bug_report_1": the villager looks at the invisible passenger even if it rides another mob.

            Unassigned Unassigned
            PauseKawa KawaMood
            Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: