That_Martin_Guy Posted February 15, 2018 Posted February 15, 2018 (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? Quote
JaredBGreat Posted July 1, 2018 Posted July 1, 2018 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! Quote Developer of Doomlike Dungeons.
JaredBGreat Posted July 2, 2018 Posted July 2, 2018 (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 July 2, 2018 by JaredBGreat Quote Developer of Doomlike Dungeons.
Draco18s Posted July 2, 2018 Posted July 2, 2018 On 7/2/2018 at 3:17 PM, JaredBGreat said: Funny though, I thought all the rendering was ultimately base on OpenGL, just loaded / generated differently. Expand 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. Quote 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.
Recommended Posts
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.