Can you make a potion effect that makes specific mobs agressive?

Started by Potatotree486 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you make a potion effect that makes specific mobs agressive?

I'm making a potion effect that lets the affected player take more damage and make piglins attack that player (regardless of the player's armor). Is there any way I can do that? I can't seem to find a way to make the piglins target the player.

Does anyone know how to do this?