#timer animation help

1 messages · Page 1 of 1 (latest)

nova jolt
#

how to make an animation only happen every couple of seconds instead of a constant loop

woven sedgeBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

nova jolt
#

i have a model and i want it to do an animation that occurs every other 10 seconds

#

instead of constantly playing over and over

winter schooner
nova jolt
#

Yes a texture animation

#

But are you not able to animate a block in a block Java item

winter schooner
winter schooner
#

!faq animated-textures

woven sedgeBOT
winter schooner
#

so your animation .mcmeta could be like this example from that tutorial:

{
 "animation": {
  "frames": [
    0,
    1,
    2,
    { "index": 3, "time": 20},
    4,
    5,
    6
  ]
 }
}```
(formatted it slightly different than the tutorial one to be more readable (at least imo))
#

in your case you'd do that for the first or last index (aka frame of your animated texture)
One thing to keep in mind: Since it starts counting from 0, if you have 8 frames for example, the last frame index would be 7, not 8