Imported a model of an Enderman from Techne is not working

Started by Mondo on Wed, 07/10/2019 - 04:54

Topic category: Help with MCreator's application

Last seen on 00:16, 14. Jul 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Imported a model of an Enderman from Techne is not working
Wed, 07/10/2019 - 04:54

So I imported a .java of an enderman model from Techne and it asked me to set the animations which I honestly don't really understand as I just match head to head and right arm to right arm and left arm to left arm etc. and when I choose the model for the mob I tried to create the build failed. I did load a texture for the enderman model in Techne and exported it. This is a part I also don't understand my thought process is because I already loaded a texture for the model in Techne and when I select the model in Mcreator it asks for a texture all I did was use the same texture as the one I used in Techne, I don't know if that screws anything up. this is what it gives me:

C:\Users\SPenc\Desktop\aAAA\build\sources\main\java\net\mcreator\sag\MCreatorGgg.java:202: error: illegal start of expression
       = new ModelRenderer(this, 0, 0);
       ^
C:\Users\SPenc\Desktop\aAAA\build\sources\main\java\net\mcreator\sag\MCreatorGgg.java:203: error: illegal start of expression
      .addBox(0F, 0F, 0F, 1, 1, 1);
      ^
C:\Users\SPenc\Desktop\aAAA\build\sources\main\java\net\mcreator\sag\MCreatorGgg.java:204: error: illegal start of expression
      .setRotationPoint(0F, -19F, 0F);
      ^
C:\Users\SPenc\Desktop\aAAA\build\sources\main\java\net\mcreator\sag\MCreatorGgg.java:205: error: illegal start of expression
      .setTextureSize(64, 32);
      ^
C:\Users\SPenc\Desktop\aAAA\build\sources\main\java\net\mcreator\sag\MCreatorGgg.java:206: error: illegal start of expression
      .mirror = true;
      ^
C:\Users\SPenc\Desktop\aAAA\build\sources\main\java\net\mcreator\sag\MCreatorGgg.java:207: error: illegal start of expression
      setRotation(, 0F, 0F, 0F);
                  ^
C:\Users\SPenc\Desktop\aAAA\build\sources\main\java\net\mcreator\sag\MCreatorGgg.java:221: error: illegal start of expression
    .render(f5);
    ^
7 errors

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. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s

Last seen on 20:14, 12. Nov 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I think that a part of the…
Wed, 07/10/2019 - 05:50

I think that a part of the mob is mirrored. This often causes bugs with Techne (or at least it did to me). Disable that option and check if it works

Last seen on 00:16, 14. Jul 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Where do I go to disable the…
Wed, 07/10/2019 - 06:02

Where do I go to disable the mirrored option?

 

Last seen on 00:16, 14. Jul 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Where do I go to disable the…
Wed, 07/10/2019 - 06:15

Where do I go to disable the mirrored option?

Last seen on 00:16, 14. Jul 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
oops
Wed, 07/10/2019 - 06:16

oops

Last seen on 20:14, 12. Nov 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I can't send you images now…
Wed, 07/10/2019 - 11:52

I can't send you images now. When you select a part of a model (head, body, arms, legs...)you can choose to mirror its texture. This however often causes issues with Techne.

If the issue persist I would recommend using Blockbench instead, which is much stabler.

Last seen on 00:16, 14. Jul 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I don't really know how to…
Wed, 07/10/2019 - 17:00

I don't really know how to create a model. Do you have a model of an enderman I can download because the problem still persists. I took a look at blockbench and it only imports .json files I tried to convert the enderman.java file from techne to a .json to export as a OBJ model, idk if I can export as anything else mcreator will accept, but when importing the enderman.json blockbench gave me the error of unexpected token p in JSON at position 11. I also tried to import the ennderman.json to mcreator but it gives me a texture mapping with nothing in it and I don't know how to import a texture map is there a specific way to do it?

One of the parts of your…
Wed, 07/10/2019 - 17:20

One of the parts of your model has an empty name. Rename or remove this part and import your model again.

Last seen on 00:16, 14. Jul 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I looked at the model in…
Thu, 07/11/2019 - 08:15

I looked at the model in techne and it has all the parts of the model with names such as head left leg, left arm, right arm, right leg etc. Where am I suppose to find this empty name in the code of the .json?

In model elements tree if…
Thu, 07/11/2019 - 08:24

In model elements tree if you use Techne. What .json are you talking about, were we not talking about .java?

Last seen on 00:16, 14. Jul 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Well I'm just being bad at…
Thu, 07/11/2019 - 11:24

Well I'm just being bad at this thinking stupidly by converting the .java to a .json, but where is this model elements tree in techne is it on the left or the right of it because it gives me the list of what the model is made of on the right: right leg, left leg, right arm, left arm, head, body, and headgear. The left is just what object is highlighted and its dimensions and position.