Issues and solutions when uploading java entity models from Blockbench (5.3.1)

Started by Zachmine77 on

Topic category: User side tutorials

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Issues and solutions when uploading java entity models from Blockbench (5.3.1)
Sun, 08/30/2020 - 14:36 (edited)

A few issues can occur when trying to upload java entity models from Blockbench (5.3.1) into Mcreator.

These are some issues I ran into and how I resolved them:
 

[Note: Many of these issues can be fixed by updating Mcreator to the most recent version]

Problem:
Mcreator says that the model name is invalid when uploading even though the model name meets the requirements.
Possible Solution:
Blockbench exports with a comment at the top of the '.java' model file. Deleting this will do:

3 lines of comments to be deleted

 

Problem:
Mcreator's 'Model animation definition wizard" screen appears but does not show options to change a model's animation.
Possible Solution:
Blockbench's recent update switched variable names, I got around this error by replacing these variable names in the '.java' model file:

RendererModel —> ModelRenderer

EntityModel —> ModelBase

 

Problem:
Mcreator's 'Model animation definition wizard" does not show the parts I want to animate. Or nothing at all.
Possible Solution:
In the Blockbench editor, you will need to branch your models into trees with the "Add group" button under "Outliner":
(There are a lot of materials on this elsewhere, but for the sake of convenience)

The outliner can be seen on the right side of the screen.

Edited by Zachmine77 on Sun, 08/30/2020 - 14:36
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had trouble with the model…
Tue, 05/12/2020 - 21:15

I had trouble with the model animation wizard and this helped me extremely. Thank you so much.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you, you are my…
Sat, 05/16/2020 - 07:29

Thank you, you are my forever god.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank u so much that really…
Thu, 07/23/2020 - 06:38

Thank u so much that really helped me!!

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's still invalid for me…
Mon, 08/03/2020 - 18:50

It's still invalid for me and I already removed the text

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  how do i see these codes?…
Fri, 09/18/2020 - 21:11

 

how do i see these codes? how does he open it somewhere to modify them?

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You should be able to click…
Mon, 09/21/2020 - 17:42

You should be able to click and open the '.java' file if you know where it is.

Picture of the file and code editor

I use Sublime Text Editor to edit code.
Changing the file extention to ".txt", editing, and then back to ".java" will work just as well.

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I changed EntityModel, but I…
Wed, 10/27/2021 - 02:46

I changed EntityModel, but I couldn’t find RendererModel in the file, I'm using the newest version of MCreator and Blockbench