Started by
Gui1332
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make a sword that when it attacks a mob it gives potion effects to the player who attacked the mob but I can't do the procedure
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make a sword that when it attacks a mob it gives potion effects to the player who attacked the mob but I can't do the procedure
Use source entity when you apply a potion effect, so when the weapon hits entity, add potion effect to source entity.
Where ofc source entity is you, and event/target entity is the mob.
how can i make : when entity is hurt he's slow and can be blocked , how i can make it?