1
JSON item model not working with 64X32 image
I am getting an error message when I try to load my JSON:
I am trying to make 3D armor item models that use the vanilla diamond_layer_1 and diamond_layer_2
They all show up purple/black.
Is there any way I can do this while using the vanilla armor texture?
I want it so if any other pack changes the image, this item adapts.
Will I have to mae a 64x64 image? I hope not...
Spoiler - click to reveal
[20:07:54] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/models/armor/diamond_layer_1.png
java.lang.RuntimeException: broken aspect ratio and not an animation
at cdq.a(SourceFile:213) ~[1.12.2.jar:?]
at cdp.b(SourceFile:101) [1.12.2.jar:?]
at cdp.a(SourceFile:76) [1.12.2.jar:?]
at cgb.n(SourceFile:763) [1.12.2.jar:?]
at cgb.a(SourceFile:188) [1.12.2.jar:?]
at cgc.a(SourceFile:23) [1.12.2.jar:?]
at cev.c(SourceFile:105) [1.12.2.jar:?]
at cev.a(SourceFile:93) [1.12.2.jar:?]
at bib.f(SourceFile:761) [1.12.2.jar:?]
at bnw.a(SourceFile:133) [1.12.2.jar:?]
at blk.a(SourceFile:337) [1.12.2.jar:?]
at bnw.a(SourceFile:141) [1.12.2.jar:?]
at blk.k(SourceFile:400) [1.12.2.jar:?]
at bnw.k(SourceFile:77) [1.12.2.jar:?]
at blk.q(SourceFile:377) [1.12.2.jar:?]
at bib.t(SourceFile:1625) [1.12.2.jar:?]
at bib.az(SourceFile:1000) [1.12.2.jar:?]
at bib.a(SourceFile:419) [1.12.2.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:123) [1.12.2.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
java.lang.RuntimeException: broken aspect ratio and not an animation
at cdq.a(SourceFile:213) ~[1.12.2.jar:?]
at cdp.b(SourceFile:101) [1.12.2.jar:?]
at cdp.a(SourceFile:76) [1.12.2.jar:?]
at cgb.n(SourceFile:763) [1.12.2.jar:?]
at cgb.a(SourceFile:188) [1.12.2.jar:?]
at cgc.a(SourceFile:23) [1.12.2.jar:?]
at cev.c(SourceFile:105) [1.12.2.jar:?]
at cev.a(SourceFile:93) [1.12.2.jar:?]
at bib.f(SourceFile:761) [1.12.2.jar:?]
at bnw.a(SourceFile:133) [1.12.2.jar:?]
at blk.a(SourceFile:337) [1.12.2.jar:?]
at bnw.a(SourceFile:141) [1.12.2.jar:?]
at blk.k(SourceFile:400) [1.12.2.jar:?]
at bnw.k(SourceFile:77) [1.12.2.jar:?]
at blk.q(SourceFile:377) [1.12.2.jar:?]
at bib.t(SourceFile:1625) [1.12.2.jar:?]
at bib.az(SourceFile:1000) [1.12.2.jar:?]
at bib.a(SourceFile:419) [1.12.2.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:123) [1.12.2.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
They all show up purple/black.
Is there any way I can do this while using the vanilla armor texture?
I want it so if any other pack changes the image, this item adapts.
Will I have to mae a 64x64 image? I hope not...
Create an account or sign in to comment.
5
1
There are plenty of programs to expand the size of your 64x32 image. One I use that is completely free is GIMP 2.
1
I use Gimp too, i just want to know if i can use this so if someone changes the armor with a texture pack, it adapts
2
"java.lang.RuntimeException: broken aspect ratio and not an animation"
Sounds like it could be the fact the image is 64x32. Try 64x64 and see if it works, otherwise I've got no idea.
I'm not terribly great with .JSON stuff so take my wisdom with a grain of salt
Sounds like it could be the fact the image is 64x32. Try 64x64 and see if it works, otherwise I've got no idea.
I'm not terribly great with .JSON stuff so take my wisdom with a grain of salt
1
I know that's the problem, I'm asking if theres some sort of workaround.
1
Probably no.