mojira.dev
MC-265354

Vexes Aren't Affected by Being Given NoAI Tag

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

  1. Summon a Vex with "/summon vex ~ ~ ~"

  2. Modify the data of the Vex "/data modify entity @e[type=minecraft:vex,limit=1] NoAI set value 1b"

  3. Observe the lack of change

No AI to Start

  1. Summon a Vex with "/summon minecraft:vex ~ ~ ~ {NoAI:1b}"

  2. Modify the data of the Vex "/data modify entity @e[type=minecraft:vex,limit=1] NoAI set value 0b"

  3. Observe the lack of change

Comments 5

Are you certain the vex being modified is the vex you just spawned? @e without sort is arbitrary, not nearest sort.

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.

Resolving as CR due to your comment.

n1njag0

(Unassigned)

Unconfirmed

(Unassigned)

1.20.1, 1.20.2 Pre-release 2

Retrieved