My animated entity won't play death animation

Started by dearlavaxx00 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My animated entity won't play death animation

Hello, im having an issue with my model cuz it doesnt play the death animation when i kill it. i made the procedure an i don't know if it is good, and i tried to follow the tutorials.

i made this:

Event trigger - triggered by external call

or when (global trigger): Entity dies

if | current health of event/target entity < 1

do | return "the name of the animation"

return | no animation

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you using the latest…
Fri, 12/08/2023 - 12:45

Are you using the latest version of Geckolib? The snapshot versions tend to be buggy.

If so, there should be a built in option for a death animation in the entity menu. You shouldn't need to trigger this with procedures. (And it wouldn't work if you did, the entity would already be dead and thus wouldn't be able to trigger the animation.)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i am using the version 2023…
Fri, 12/08/2023 - 23:36

i am using the version 2023.2 (because im using the mcreator 2023.2 for 1.19.2). if its so, do you have a tip to resolve this? thanks

 

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you're using a stable…
Sat, 12/09/2023 - 00:54

If you're using a stable version of geckolib, you should be able to use the built in death animation option instead of trying to program one in manually. Assuming Geckolib supports death animations in 2023.2. (I'm pretty sure it does, but you'd have to check.) There should be a 'death animation' section in the animated entity tab once Geckolib is installed.

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you're right, there is a tab…
Sun, 12/10/2023 - 12:06

you're right, there is a tab "death animation" that i can enable to make the death animation, and i tried to make the procedure because using the plugin options from the mob creation the mob still doesn't play the animation.