how can i make so if a mob attacks the player the player gets a debuff

Started by fwegoman on

Topic category: Help with modding (Java Edition)

Last seen on 13:16, 23. Jun 2023
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how can i make so if a mob attacks the player the player gets a debuff

im trying to add a mod that gives player debuff if they touch a mob however when i try and do this it gives the MOB the debuff is their anyway to change this