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
Spawn an evoker
Summon a villager next to it
/summon villager ~ ~ ~ {NoAI:1b}
Wait for the evoker to summon vexes
→ The vexes attack the villagerReopen the world
→ The existing vexes are not attacking the villager anymore
Linked issues
discovered while testing 1
is duplicated by 1
testing discovered 1
Comments 8
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 for MC 1.12.1.