Started by
Theogtm
on
Topic category: Help with Minecraft modding (Java Edition)
I wanted to create a weapon that your projectile
add potion effects on a mob (when the shot hit it it would get poisoned for example) i tried to use the event when bullet huts the player but it did not work could help me
If you are using 1.9 or higher, then just set it to a normal Arrow. You can then change it to a TippedArrow, by modifying the code.
You can also send me the code, if you want to. I can modify it for you.
You could also add it so when the bullet hit a enity or block, it executes this command: effect @e[r=1] (name of effect)