Started by
Ghxst
on
Topic category: Help with Minecraft modding (Java Edition)
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
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""
like this: