Breaking animation loop on MCMETA files from 'animated' blocks

Started by gustavowizard123 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Breaking animation loop on MCMETA files from 'animated' blocks

So i made this animated block using json files exported from blockbench, on this online animator here

http://vberlier.github.io/animated-models/

it work fine, but i want a single-shot animation, not a constant loop; i want the block, when placed, display its animation only once,

i tought this could be done by changing something on the MCMETA file below, but i would apreciate any sugestions, thanks in advance!

 

{
    "animation": {
        "frames": [
            {"index": 0, "time": 1},
            {"index": 1, "time": 1},
            {"index": 2, "time": 1},
            {"index": 3, "time": 1},
            {"index": 4, "time": 1},
            {"index": 5, "time": 1},
            {"index": 6, "time": 1},
            {"index": 7, "time": 1},
            {"index": 8, "time": 1},
            {"index": 9, "time": 1},
            {"index": 10, "time": 1},
            {"index": 11, "time": 1},
            {"index": 12, "time": 1},
            {"index": 13, "time": 1},
            {"index": 14, "time": 1}
        ]
    }
}

This page might help: https:…
Sat, 07/18/2020 - 07:51