ModelCreator
ModelCreator copied to clipboard
Outputting broken json
I had a total of 17 cubes in my model and it exported this mess:
{ "__comment": "Model generated using MrCrayfish's Model Creator (https://mrcrayfish.com/tools?id=mc)", "textures": { "furnace_side": "minecraft:block/furnace_side", "furnace_top": "minecraft:block/furnace_top" }, "display": { "gui": { "rotation": [ 30, 225, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 0.625, 0.625, 0.625 ] }, "ground": { "rotation": [ 0, 0, 0 ], "translation": [ 0, 3, 0 ], "scale": [ 0.25, 0.25, 0.25 ] }, "fixed": { "rotation": [ 0, 0, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 0.5, 0.5, 0.5 ] }, "firstperson_righthand": { "rotation": [ 0, 45, 0 ], "translation": [ 0, 2.5, 0 ], "scale": [ 0.4, 0.4, 0.4 ] }, "thirdperson_righthand": { "rotation": [ 75, 45, 0 ], "translation": [ 0, 2.5, 0 ], "scale": [ 0.375, 0.375, 0.375 ] } }, "elements": [ { "name": "Sides", "from": [ 0, 0, 0 ], "to": [ 16, 16, 16 ], "faces": { "east": { "texture": "#furnace_side", "uv": [ 0, 0, 16, 16 ] }, "south": { "texture": "#furnace_side", "uv": [ 0, 0, 16, 16 ] }, "west": { "texture": "#furnace_side", "uv": [ 0, 0, 16, 16 ] }, "up": { "texture": "#furnace_top", "uv": [ 0, 0, 16, 16 ], "rotation": 180 }, "down": { "texture": "#furnace_top", "uv": [ 0, 0, 16, 16 ], "rotation": 180 } } }, ] }
I've got no idea what went wrong and I wasn't using the program in any unconventional way, restarting the program cleared most of the textures and did not fix the issue.
It won't export elements that don't have any textures
Every face, enabled or not, had a texture so that's not the issue with exporting. When I restarted the program it removed some of the textures (not just from the faces but from the list of textures as well).
On Tue, Mar 10, 2020 at 9:54 PM MrCrayfish [email protected] wrote:
It won't export elements that don't have any textures
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MrCrayfish/ModelCreator/issues/181?email_source=notifications&email_token=AOUXR6QFGV3GAASRHYIRC7DRG3VPHA5CNFSM4LFK33WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEON2SFY#issuecomment-597403927, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOUXR6SAE5EQXSUT4AEKNR3RG3VPHANCNFSM4LFK33WA .