How to test what team an entity is on

Started by Volga56 on Wed, 11/11/2020 - 21:39

Topic category: Help with MCreator software

Last seen on 20:07, 25. Jan 2021
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to test what team an entity is on
Wed, 11/11/2020 - 21:39

Hi there! I need to know how to test if an entity is on the same team as another entity using procedure blocks

Last seen on 11:13, 23. Dec 2020
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
As far as I can tell, there…
Fri, 11/13/2020 - 11:43

As far as I can tell, there's no easy way to tell which team an entity is on. What exactly do you need to do?

Last seen on 17:57, 8. Jan 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have a similar problem, I…
Sat, 11/14/2020 - 03:26

I have a similar problem, I'm making a Jojo mod and I need to have the mobs only attack mobs of the same "type" which is fairly annoying.

Last seen on 11:13, 23. Dec 2020
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Well, mob AI is definitely…
Sat, 11/14/2020 - 11:49

Well, mob AI is definitely not my best area, but shouldn't you be able to just tell the mob to attack mobs of the same type and not anything else?