How to make a wither skeleton punch effect

Started by KRISTIYALNO_0962 on

Topic category: Help with modding (Java Edition)

Last seen on 15:55, 13. May 2023
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a wither skeleton punch effect

I want to make a potion effect that when you have it and hit something it will get wither effect but i tried everything it didnt work. Sometimes it just doesn't give anything wither effect, sometimes when u get any hit by anything it gives you wither, sometimes it gives wither to you when you have that effect. Can someone help please?

Last seen on 13:49, 25. Feb 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure. Set global…
Fri, 09/16/2022 - 06:12

Make a procedure. Set global trigger to "When entity is hit" or something like that

If [Source entity] has effect [your effect], then:

    Give [Event/target entity] effect [Wither]

 

Source entity is you - you did the hit, you are the source of the hit

Event/target entity is the mob you hit