Custom Sword Particle Effect on Hit

Started by Jingothejumper on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Sword Particle Effect on Hit

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.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did the When entity hits…
Sat, 08/27/2022 - 16:23

I did the When entity hits living entity: spawn custom particles at x y z procedure but i don't know what is the firework explosion particle, and i'm also trying it with a bow.