TransWikia.com

Animated item's .mcmeta file in resource pack not accepting detailed frame animation properties

Arqade Asked by fm_2030 on March 29, 2021

When I use this code, the item shows up with the pink error texture:

{    
    "animation": {
            "frametime": 5,
            "frames": [
                {
                "index": 0,
                "time": 2000,
                },
                {
                "index": 2,
                "time": 10
                }
            ]
        }
}

I’m fairly new to JSON, so I was going off the examples in the Minecraft wiki. Unfortunately, there weren’t many examples so I had to do a bit of guessing. Please let me know if there are any errors in the code. The code below does make the item animated, fixing the pink error texture:

{    
    "animation": {
        "frametime": 2
    }
}

Which leads me to believe that the issue is with the code within the "frames" block. This solution is less preferable because I’d like there to be small pauses on specific frames (frame 0 and 2) for a smoother looking animation.

Thanks in advance for any help, and let me know if I’ve made any weird formatting choices as it’s my first post here.

ETA: I did also try using values smaller than 2000 ticks.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP