How to make custom mob to give "wither" effect to the attacked target?

Started by Noob vs Pro vs… on Sun, 03/22/2020 - 16:53

Topic category: Help with modding (Java Edition)

Last seen on 14:32, 15. May 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make custom mob to give "wither" effect to the attacked target?
Sun, 03/22/2020 - 16:53

Hi, In my new mod I was adding "Female Wither Skeleton." I made everything but I want her to give me "wither" effect when she hit me. How will I do this?

Last seen on 19:55, 25. Mar 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
oh hi again. to do this, add…
Sun, 03/22/2020 - 22:23

oh hi again.

to do this, add a new procedure in the "when entity collides" section, then go to "entity procedures" and drag "add potion" with level to your code. now change the "provided effect" to wither and there you go.