mojira.dev
MC-18225

Animated blocks/items appearing as purple and black squares

Animations in my updated resource pack appear as purple and black squares (all animation definitions are there)

Linked issues

Comments 7

Please attach your resource pack.

Had this issue when I was modifying my animated texture files mcmeta files after using the converter.

If you remove the comma after the "Frametime" number, it will resort the texture to purple and black squares instead of to the default texture. Just make sure it reads something like what I have bellow. this is an animation I made for Tall grass to "sway" in the "wind"

{
"animation": {
"frametime": 21,
"frames": [
{"index": 0, "time": 5},
{"index": 1, "time": 6},
{"index": 0, "time": 4},
{"index": 2, "time": 6}
]
}
}

I know right I think that's a bug and when I download a animated texture pack and look at the notepad doc's I'm doing the same thing and it just won't work it's so stupid, they need to fix that!!!

Noticed this the other day when I was updating an animation. Double check that your not calling for more frames than are in the .png file (i.e. 4 frames in the png, and calling out index 4 in the .mcmeta file) If there are four frames in the png file then you should only go to index 3 in the mcmeta file as index 0 is frame 1. If you list more frames then are in the animation the texture turns purple and black.

{
"animation": {
"frametime": 21,
"frames": [
{"index": 0, "time": 5},
{"index": 1, "time": 5},
{"index": 2, "time": 5},
{"index": 3, "time": 5},
{"index": 4, "time": 5}
]
}
}

should be

{
"animation": {
"frametime": 21,
"frames": [
{"index": 0, "time": 5},
{"index": 1, "time": 5},
{"index": 2, "time": 5},
{"index": 3, "time": 5},
]
}
}

Okay Thankz, If it didn't work then I'll tell you ok, I hope it works!!!

I tried to animate the diamond and when I animated it'd looked good, then
when I saved it and copied your frame and animation thing I create a new
notepad and when I pasted the frame an animation thing, then I saved it and
when I opened up minecraft It's still like that.

Nic VZ

(Unassigned)

Unconfirmed

animation, purple, squares

Snapshot 13w24b

Retrieved