mojira.dev
MC-118430

Vex summoner is not stored in NBT despite being used for AI task

Partwise based on 1.11.2 decompiled using MCP 9.37

The bug

The summoner of a vex is not stored in the NBT data of the vex despite it being used for the AI task net.minecraft.entity.monster.EntityVex.AICopyOwnerTarget.

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. Reopen the world
    → The existing vexes are not attacking the villager anymore

Linked issues

Comments 8

Can confirm for MC 1.12.1.

Confirmed for 1.13.1.

I can confirm this is still the case in 19w08a, a snapshot for 1.14

Can confirm this is still an issue in 1.15 Pre-Release 1, sorry for not posting an update in a while!

can confirm for 20w15a but only if you use the command

/summon villager ~ ~ ~ {NoAI:1b}

because mobs no longer attack villagers that are Invulnerable

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 1.17.1.

marcono1234

gegy

Confirmed

Platform

Low

Mob behaviour

ai, evocation_illager, nbt, owner, vex

Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, ..., 1.17.1, 1.19.3, 23w04a, 1.20.2, 1.21

25w19a

Retrieved