Started by
KRISTIYALNO_0962
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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