How to stop entity death animation from happening

Started by TwelveGuy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to stop entity death animation from happening

I am making a boss with a theme song and when it's killed, it stop the music loop and plays a little ending part, but since the death of an entity is only registered when it finishes "falling over and perishing", the music gets delayed by like a second and it's really annoying. Is there any way to just despawn the entity?