How to make a custom mob apply effects to the player

Started by Ball-van on

Topic category: Help with modding (Java Edition)

Last seen on 18:29, 16. Mar 2024
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)