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

Started by Noob vs Pro vs… on

Topic category: Help with modding (Java Edition)

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make custom mob to give "wither" effect to the attacked target?

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 13:41, 3. Dec 2020
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Last seen on 14:26, 20. Oct 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Good day guys. I have a…
Thu, 10/20/2022 - 14:27

Good day guys. I have a similar problem. I did the same thing as you said in the message, but instead of me the entity is getting the wither effect.