How to make a firework explosion appear when an enemy is hit, and with a certain color

Started by Dartrix on Sat, 08/27/2022 - 03:38

Topic category: Help with modding (Java Edition)

Last seen on 22:24, 18. Oct 2022
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a firework explosion appear when an enemy is hit, and with a certain color
Sat, 08/27/2022 - 03:38

So, i'm making a forge mod for 1.16.5 (I'm making my own SMP with custom items and etc), so the point is that i'm making a bow for a friend that likes the concept of the universe, the moon, dreams, basically universe related stuff.

And he requested a bow, so i made it, but the problem is that, i want to make it so when i hit an enemy with the arrow proyectile shot by that bow it generates a Firework Explosion that is yellow and white, and does AOE damage.

Can i get some help, please?, i've been trying to make this work for soo long, i still have a long way left so i can finish the mod, but everything is looking awesome.

And, thanks.