Minecraft test client closes

Published by thebebist on
Status
Fixed
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.

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.