mojira.dev
MC-118432

Vex summoner is not reset once it is dead

The bug

The summoner of a vex is not reset once it is dead.

How to reproduce

  1. Spawn an evoker

  2. Summon a villager next to it

    /summon villager ~ ~ ~ {NoAI:1b}
  3. Wait for the evoker to summon vexes
    →✔ The vexes attack the villager

  4. Kill the evoker

    /kill @e[type=minecraft:evoker]
  5. Prevent the vexes from starving

    /execute as @e[type=vex] run data merge entity @e[type=vex,limit=1] {LifeTicks:2147483647}
  6. Switch to Survival or Adventure mode
    →✔ The vexes attack you

  7. Switch to Creative or Spectator mode
    →❌ The vexes attack the villager again even though their summoner is dead and they normally don't attack villagers

Linked issues

Comments 4

Can confirm for MC 1.12.1.

Cannot reproduce for 1.13.1, they don't attack the villager.

EDIT: Confirmed for 1.13.1.

(Because of the Invulnerable it didn't do damage to the villager, I thought they weren't attacking. my bad)

Confirmed for 19w41a

marcono1234

gegy

Confirmed

Mob behaviour

death, evoker, owner, vex

Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.13.1, 20w46a, 1.20.2, 1.21

25w19a

Retrieved