Jump to content

[1.7.10] Techne Models without using .java file


yoshiquest

Recommended Posts

I've seen plenty of tutorials about adding it via the exported .java file. However, for my project I'd rather not use that. Is there a way to use the raw techne model file instead? Or if not, then what does the json generated look like, and would that be a viable way of implementing it?

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Link to comment
Share on other sites

I don't think Techne supports exporting as JSON, but if it does, you would only be able to use those in 1.8 for Blocks and Items - anything else and any prior version you have to use a .java file, be it a model or a custom render class that makes OpenGL calls directly (which is more difficult than just using the generated model file).

 

Why don't you want to use a .java file?

Link to comment
Share on other sites

I don't think Techne supports exporting as JSON, but if it does, you would only be able to use those in 1.8 for Blocks and Items - anything else and any prior version you have to use a .java file, be it a model or a custom render class that makes OpenGL calls directly (which is more difficult than just using the generated model file).

 

Why don't you want to use a .java file?

 

I'm currently working on a wrapper for the Clojure programming language (viewable here), letting you code in that instead of java. As such, making the user use a .java file in this context is kind of.... counter-intuitive. If I need to, and the format for the json files is correct (techne does seem to have this option btw), then I can simply create a code generator for the json files (which is what most of this library is anyways).

 

Why do you say it's only usable in 1.8 though?

Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.

Link to comment
Share on other sites

If you want to use .json models in terms of vanilla then they were added in 1.8. Logically - system doesn't exist in 1.7.10 (which is in thread's name).

 

Aside from that - Just make wrapper/parser for your custom files.

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.