How to make a wither skeleton punch effect

Started by KRISTIYALNO_0962 on Tue, 09/06/2022 - 06:44

Topic category: Help with modding (Java Edition)

Last seen on 16:36, 19. Sep 2022
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a wither skeleton punch effect
Tue, 09/06/2022 - 06:44

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 14:35, 25. Nov 2022
Joined Dec 2021
Points:

User statistics:

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