make a flash animation after an entity explodes

Started by efremxd on

Topic category: Help with modding (Java Edition)

Last seen on 18:21, 7. Jan 2023
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make a flash animation after an entity explodes

so im making a mod that has an entity that explodes if you collide with it so i need help makin a flash animation (like appear and then slowly dissapear)

so how do i make it the gui and how do i make that if that entity explodes it appears? (i tried making the flash an effect and give it after the entity explodes but it doesnt work)

if you have a solution it would help me
:D

Last seen on 17:34, 2. Oct 2023
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Before I go on an…
Mon, 11/28/2022 - 00:57

Before I go on an explanation for this, I need an answer for the following questions to better understand what you want

Do you want the entitie's explosion "flash" to appear then disappear once only or do you want it to flash multiple times?

Do you want the flash to appear over your screen (Sort of like a white blindness) or like a particle that appears where the mob exploded? (Similar to TNT Explosion particles)