Imported a model of an Enderman from Techne is not working

Started by Mondo on

Topic category: Help with MCreator software

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Imported a model of an Enderman from Techne is not working

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

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Jul 2019
Points:

User statistics:

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

Where do I go to disable the mirrored option?

 

Joined Jul 2019
Points:

User statistics:

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

Where do I go to disable the mirrored option?

Joined Jul 2019
Points:

User statistics:

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

oops

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

If you can't find the model…
Thu, 07/11/2019 - 11:39

If you can't find the model without name there, try to manually remove it in code. Your model code does indeed containt one element without name based on the error log you posted.

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enderman's techne model is…
Thu, 07/11/2019 - 16:57

Enderman's techne model is broken!  I suggest leaving the Techne that no longer has support ... use Blockbench which is much better!

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok well that's a shame. For…
Thu, 07/11/2019 - 22:34

Ok well that's a shame. For blockbench does it already have a model of enderman somewhere I can have or is there an online library of models?

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is the official plugin…
Thu, 07/11/2019 - 23:34

There is the official plugin: "Bedrock Entity Generator"