How do I make a mob give an effect to the player when attacking?

Started by MisterSmeet on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a mob give an effect to the player when attacking?

How do I make a mob give an effect to the player when attacking?

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could get the player's…
Thu, 04/17/2025 - 19:06

you could get the player's UUID, then check if the mob is angry at it, if it is, then do your procedure.

 

 

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you show me how to do…
Fri, 04/18/2025 - 05:45

Can you show me how to do this? I used to know, but then something changed and now it doesn't work that way.