Model issue?

Published by McCarrick on Fri, 02/09/2018 - 01:41
Issue description

Hey there - I just recently started using MCreator and have been making models with Techne. Of these two of them are working flawlessly, but the gnome model I've created has been giving me an exception.

I've isolated the section of text that is useful from the console and provided it in a text file below. What happened that is making this model unacceptable, and how can I fix it?

Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from testenvironmentmod (testenvironmentmod) 
Caused by: java.lang.NullPointerException    at net.minecraft.client.model.ModelRenderer.addBox(    at mod.mcreator.mcreator_gnome$ModelGnome. ( AL lib: (EE) alc_cleanup: 1 device not closed    at mod.mcreator.mcreator_gnome.registerRenderers(    at mod.mcreator.ClientProxyTestEnvironmentMod.registerRenderers(    at mod.mcreator.TestEnvironmentMod.load(    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(    at sun.reflect.DelegatingMethodAccessorImpl.invoke(    at java.lang.reflect.Method.invoke(    at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(    at sun.reflect.DelegatingMethodAccessorImpl.invoke(    at java.lang.reflect.Method.invoke(    at    at$SynchronizedSubscriber.invokeSubscriberMethod(    at$    at$DirectExecutor.execute(    at    at$PerThreadQueuedDispatcher.dispatch(    at    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(


Issue comments

Could you please attach the source of file? Or attach the whole workspace so I can investigate the issue further as this error log is incomplete.

Hi Klemen,

I will happily attach it - however, I managed to fix it. It was not playing nicely with a piece I made to attach the nose to the head (think Villager model) and I've gone ahead and fixed that.


However, though now I'm able to export it and see my critters in game - they do not have any sort of animation despite giving MCreator the animation tasks when prompted (head/leftleg/rightleg/leftarm/rightarm).

I apologize for my n00bishness, but is it possible to use basic animations with custom models? I've created a very basic skeleton off the biped model that is likewise un-animated. I'll provide the .java files for the models bellow.…

I've included the techne file for the gnome as well as the respective skin files. I didn't have the foresight to save the skeleton techne since it was pretty bare bones (no pun intended).

I am glad you fixed the issue with the Techne model. Regarding your second issue, there already a ticket for this. I am closing this issue and you can continue the discussion on the linked issue related to animation problems. We will fix this in the upcoming updates.

Animation issue:

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.