Jump to content

Recommended Posts

Posted

(Fair warning, this is going to be a similar post to my last one)

 

I know you should pretty much always create block models in the .json format, but I'm part of a modding team who have created a whole bunch of .java models, and I'd hate to have to ask them to remake them all to convert them to .json. Is it a terrible idea to keep them as java files or is it fine? If so, how do you render the blocks this way?

  • 4 months later...
Posted

Someone please answer this -- a lot of people would like to know -- I for example, have block that is the alternate state of a mob, so the two need to be identical.  I know its been stated that block models don't have to be JSON, and this doesn't require TESR.  So, is there a standard Forge way to do this, or are such statements a hint to hack in our own way.

 

BUMP!

Developer of Doomlike Dungeons.

Posted (edited)

Ah, so if I actually rendered the entity model directly as a block, it would be a TESR on some level, and the way would be found by researching ICustomModelLoader and its current implementations?  (Though if I could duplicate it as JSON it would be preferable).  Funny though, I thought all the rendering was ultimately base on OpenGL, just loaded / generated differently.  I'll look into this when I have time (I've already spend half my vacation updating someone else's mod, so I may take a break once its in a playable state).

 

Thanks.

Edited by JaredBGreat

Developer of Doomlike Dungeons.

Posted
1 hour ago, JaredBGreat said:

Funny though, I thought all the rendering was ultimately base on OpenGL, just loaded / generated differently.

Correct. But as blocks are baked (the triangles don't need to be recomputed every frame) they can be streamed to the GPU much faster.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.