How to make mobs target a player that has a certain potion effect

Started by Mr Beard Man Dude on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make mobs target a player that has a certain potion effect

I'm making a PvP-like mod, and I'm trying to make a way so that a custom mob will target an individual player with a potion effect given from an item.
The item giving an effect is easy, but I'm stuck on how to make the custom mob only target the sed player with the potion effect

Can anybody help?

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
any other way to give a…
Mon, 07/28/2025 - 21:58

any other way to give a player target priority also helps