Get entity attack target

Published by _Chirp_ on Sun, 07/05/2020 - 10:41
Upvotes: 6
Issue description

I think it would be very useful to have a parameter that checks if an <event/source entity> is currently attacking anything/aggressive (true or false), which could be useful for particle effects or animations.
Also a selector for the entity the <event/source entity> is aggressive towards, so that it may be selected for (for example) potion effects or homing projectiles.

I've seen neutral mobs do this in code, but I don't understand exactly how it works just yet, so maybe you can turn it into a feature :D

Issue comments

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.