Jump to content

Recommended Posts

Posted

Hey everyone, I'm trying to make a simple custom render for a block I'm working on but need some help. I've looked up plenty of tutorials on how set up what you need like modelID, registering it, etc. In the class that implements ISimpleBlockRenderingHandler, they all say put my "rendering code" into the renderWorldBlock method which always confuses me. I haven't found a single tutorial that has told me what "rendering code" looks like. I assume there are simple methods that let me create basic shapes at coordinates in the block but I don't know. Anyway, if someone knows what to do can you please tell me? Thanks a lot!

Posted

Hey everyone, I'm trying to make a simple custom render for a block I'm working on but need some help. I've looked up plenty of tutorials on how set up what you need like modelID, registering it, etc. In the class that implements ISimpleBlockRenderingHandler, they all say put my "rendering code" into the renderWorldBlock method which always confuses me. I haven't found a single tutorial that has told me what "rendering code" looks like. I assume there are simple methods that let me create basic shapes at coordinates in the block but I don't know. Anyway, if someone knows what to do can you please tell me? Thanks a lot!

  • 2 weeks later...
Posted

I was just doing this.

https://github.com/skore13/renderLib

It's my work in progress library that is supposed to make it easier to make custom renderers. You might also want look into .obj loading. Example mod using this is Equivalent Exchange (and I think that pahimar is creator of obj loading feature of forge) https://github.com/pahimar/Equivalent-Exchange-3

Creator of easy custom renderer library without tile entity. https://github.com/skore13/renderLib

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.