Animation help

Started by Ghxst on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Animation help
Sat, 09/16/2023 - 09:26 (edited)

I want to make a first animation play once on a geckolib animated entity, then the entity to play out a second animation wich infinitely loops, how would I proceed to do that?

I am using geckolib 1.19.2, mccreator version 2023.2

Edited by Ghxst on Sat, 09/16/2023 - 09:26
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
go to the blender/blockbench…
Mon, 10/16/2023 - 13:00

go to the blender/blockbench or something that you use set loop mode of first animation to ''PLAY ONCE'' 

then go to the producer and set it to this

 

first block : if entity element "ENTITY THAT YOU WANT" is the event/targetentity then play the animation "ANIMATION NAME"
second block: wait "Animation time*20"  (multiply sec by 20 to get MC's tick unit) 

do "if entity element "ENTITY THAT YOU WANT" is the event/targetentity then play the animation "ANIMATION NAME""