Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Outputting broken json #181

Open
Gwemlin opened this issue Mar 11, 2020 · 2 comments
Open

Outputting broken json #181

Gwemlin opened this issue Mar 11, 2020 · 2 comments

Comments

@Gwemlin
Copy link

Gwemlin commented Mar 11, 2020

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.

@MrCrayfish
Copy link
Owner

It won't export elements that don't have any textures

@Gwemlin
Copy link
Author

Gwemlin commented Mar 11, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants