Problem
When summoning a Vex and modifying its NoAI value to the opposite of its summoned state, it is unaffected.
Steps To Reproduce
With AI to Start
Summon a Vex with "/summon vex ~ ~ ~"
Modify the data of the Vex "/data modify entity @e[type=minecraft:vex,limit=1] NoAI set value 1b"
Observe the lack of change
No AI to Start
Summon a Vex with "/summon minecraft:vex ~ ~ ~ {NoAI:1b}"
Modify the data of the Vex "/data modify entity @e[type=minecraft:vex,limit=1] NoAI set value 0b"
Observe the lack of change
Comments 5
Yes, you could also test it with "/data modify entity @e[type=minecraft:vex,limit=1,sort=nearest] NoAI set value 0b" or "/data modify entity vex id NoAI set value 0b"
The command works as expected for me. Could you record a short video showcasing the issue with the debug screen (F3) enabled?
It must've only been effected in 1.20.1. This is now resolved and the version will be set to 1.20.1 only.
Are you certain the vex being modified is the vex you just spawned? @e without sort is arbitrary, not nearest sort.