How to make a entity atacks only enemy players

Started by RandomMods846 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a entity atacks only enemy players

So I want to make a entity that is like the wolf tamed but it attack any other player or mob that show up except the player that spawned it, how do I do it?