Different Entities that call for help

Started by Geometrical565 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Different Entities that call for help

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?

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the trigger "When entity…
Sat, 08/10/2024 - 15:09

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

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome 
Sat, 08/24/2024 - 19:21

You're welcome