Custom Sword Particle Effect on Hit

Started by Jingothejumper on Wed, 09/16/2020 - 02:55

Topic category: Help with modding (Java Edition)

Last seen on 00:39, 17. Mar 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom Sword Particle Effect on Hit
Wed, 09/16/2020 - 02:55

I am looking to make it so when you hit an entity with a fully charged up sword, it spawns a firework inside their hitbox that goes off instantly. Would this affect the sword's damage by stopping the damage that would be done with the sword? I need some help figuring out how I would go about doing this, and suggestions for something similar of you think this wont work.

Last seen on 18:56, 17. Nov 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make a procedure to do this:…
Mon, 09/21/2020 - 16:01

Make a procedure to do this: When entity hits living entity: Spawn Custom Particles at X Y Z.

This will spawn your particles at the entity you hit. If you need more help, contact me.