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

Started by Zachmine77 on Thu, 04/30/2020 - 14:45

Topic category: User side tutorials

Last seen on 00:48, 27. Oct 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
Last seen on 22:41, 1. Oct 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 09:13, 23. Jun 2020
Joined May 2020
User points:

User statistics:

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

Thank you, you are my forever god.

Last seen on 18:13, 20. Oct 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Also see this site too for a…
Sun, 05/17/2020 - 16:36

Also see this site too for a fast way of fixing the animation problem (without having to go through each of the words and changing it manually) : https://mcreator.net/tracker/issue/59347

Last seen on 10:52, 27. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
These problems should be…
Sun, 05/17/2020 - 16:49

These problems should be gone in the latest 2020.3 snapshot, just a heads up ;)

Last seen on 04:33, 14. Sep 2020
Joined Jun 2020
User points:

User statistics:

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

Thank u so much that really helped me!!

Last seen on 23:40, 24. Sep 2020
Joined Apr 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 18:10, 30. Sep 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?

Last seen on 00:48, 27. Oct 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.