#timer animation help
1 messages · Page 1 of 1 (latest)
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.
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
When you say animation are you talking about a texture animation or about something else?
in that case you could set the last (or first) frame to last longer in your .mcmeta file of the animated texture
not directly
there is some data packs and plugins that split the model into several item models (one per bone) and fake animation like that, hence why I asked just in case
!faq animated-textures
Here is an old (but still valid) tutorial on animated textures for Minecraft: Java Edition (vanilla):
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/resource-packs/resource-pack-discussion/1256350-animation-in-resource-packs-a-minecraft-1-6
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