Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] RendererModels aren't initialized in the correct order when exporting a modded entity to .java #382

Closed
Gamebuster19901 opened this issue Jul 24, 2019 · 2 comments

Comments

@Gamebuster19901
Copy link

commented Jul 24, 2019

Supply the following information:

  • The java file that results from exporting a modded entity as a .java file is invalid. The resulting code attempts to access some fields before they're initialized.

  • As you can see from this commit: Gamebuster19901/ONIs-Arsenal@d628329, the initialization of some fields must be moved for the java file to become valid java code.

  • Blockbench variant: Desktop

  • Operating System: Windows

Here is the .bbmodel file: Needle.zip

Gamebuster19901 added a commit to Gamebuster19901/ONIs-Arsenal that referenced this issue Jul 24, 2019

@Gamebuster19901

This comment has been minimized.

Copy link
Author

commented Jul 24, 2019

Also note: I'm modding in a 1.14 environment, so as such, some class names are different.

@JannisX11 JannisX11 added this to Fixed/Added in Upcoming Version in Blockbench Jul 24, 2019

@JannisX11

This comment has been minimized.

Copy link
Owner

commented Jul 26, 2019

Fixed in 3.0.4.

@JannisX11 JannisX11 closed this Jul 26, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.