Minecraft test client closes

Published by thebebist on Mon, 02/11/2019 - 20:00
Status
Fixed
Type
Product/platform
Not applicable
Priority
Normal
Issue description

when i run the test client whit my mod it starts loading like normal and then it just closes, i tried to export and import the mod again but it did not work then either.

i did not get any crash log, it just closes.

Attachment Size
this is the workspace957.76 KB 957.76 KB

Issue comments

You get the crash log, the crash log is in the console tab of MCreator. The error is with mob model Modelundeadminer. The modeler you used produced invalid code. In the model java code, change these lines:

textureWidth = 64;
textureHeight = 128;
head.mirror = true;
head = new ModelRenderer(this, 0, 0);
head.addBox(-4F, -8F, -4F, 8, 8, 8);
head.setRotationPoint(0F, 0F, 0F);
head.setTextureSize(64, 128);
head.mirror = true;

to:

textureWidth = 64;
textureHeight = 128;
head = new ModelRenderer(this, 0, 0);
head.addBox(-4F, -8F, -4F, 8, 8, 8);
head.setRotationPoint(0F, 0F, 0F);
head.setTextureSize(64, 128);
head.mirror = true;

and import the model again.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.