0

I would like to detect if a mob has NoAi set to 1 or 0. I searched but couldn't find anything. Can someone help?

1 Answer 1

1

you can find that by simply running data.

NoAI is its own entry at the top level of an entity, so all you need is data get entity <selector> NoAI and it will return with its value.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .