Model Issue

Published by zxin on Tue, 08/14/2018 - 12:48
Status
Works as designed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

When giving a mob a custom model, I can no longer access the mob's editor mod properties. Displaying the message...

This mod does not have a saved instance. If you want to make it editable,

you need to remake it.

You probably see this because you have updated MCreator and your mod was made before saving was possible.

 ... all of which is not the case. Then upon compiling I get an error.

:clean :deobfCompileDummyTask :deobfProvidedDummyTask :sourceApiJava :compileApiJava UP-TO-DATE :processApiResources UP-TO-DATE :apiClasses UP-TO-DATE :sourceMainJava F:\Program Files 2\McPylo\MCreator 1.7.9\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:75: error: cannot find symbol    mcreator_block mcreator_38 = new mcreator_block();    ^   symbol:   class mcreator_block   location: class TestEnvironmentMod 1 error :compileJava FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 19.917 secs F:\Program Files 2\McPylo\MCreator 1.7.9\forge> Task completed with return code 0 in 24168 milliseconds

I've run it with "build --debug", but it didn't seem to get any more detailed. I can still give a debug log if desired, it's just enormous.

I've attached the two model files that I've tried using. Both of which have caused similar errors. (although the latter file was used in this case)

Attachment Size
ModelPlayer.java2.92 KB 2.92 KB
zxir.java1.32 KB 1.32 KB

Issue comments



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.