How to make a custom mob apply effects to the player

Started by Ball-van on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a custom mob apply effects to the player

Hello everyone! I would like to know how to make a custom creature apply any effects to the player.  (For example: how the husk puts a hunger effect on the player when he is hit)