Make a mob attack modded mobs?

Started by Batteries Not … on Thu, 08/13/2020 - 08:32

Topic category: Help with modding (Java Edition)

Last seen on 02:13, 12. Sep 2021
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make a mob attack modded mobs?
Thu, 08/13/2020 - 08:32

So I have a conduit-like entity that is meant to act kind of like a sentry. I'm wondering if there is a way to identify hostile mobs by type rather than inputting them all manually in a procedure. I would like the sentry-entity to attack hostile mobs from any mod, not just mine.

Last seen on 22:49, 17. Mar 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You would have them target …
Thu, 08/13/2020 - 13:42

You would have them target (with the Attack (in sight only) (nearby only) of type "EntityMonster (at the bottom of the menu)").