Started by
Geometrical565
on
Topic category: Help with Minecraft modding (Java Edition)
Couldn't find any answers about this, so here's my question:
How do I create an entity that will call for help from other entities of its type and also a different kind of entity? For instance, how the piglin brute is hostile but will also make all piglins hostile. Both of the mobs are to be neutral but will become aggressive if attacked, and both of the entities will attempt to attack the player. How could I go about implementing this?
In the trigger "When entity is hurt" of both entities set a procedure:
entity 1: https://imgur.com/N2Yu6tx
entity 2: https://imgur.com/YYy5fqZ
they're basically the same, you just have to change the second "is (sub)type" block
Thank you!
You're welcome