How to make projectile with potion effect????

Started by Theogtm on

Topic category: Help with modding (Java Edition)

Last seen on 20:15, 20. Apr 2021
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make projectile with potion effect????

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

Last seen on 16:24, 5. Jan 2018
Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you are using 1.9 or…
Wed, 01/03/2018 - 15:57

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.

Last seen on 22:17, 28. Jun 2018
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could also add it so…
Wed, 01/31/2018 - 18:19

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)