Jump to content

[1.8] New Rendering Methods


bignose956

Recommended Posts

I realized that the rendering methods have changed for 1.8, but I cannot figure out how to use them. I have successfully rendered throwable entities first by including a factory in the render class, then registering it in the main mod class using this method: 

RenderingRegistry.registerEntityRenderingHandler(EntityGrenade.class, RenderGrenade.FACTORY);

 

But I cannot render regular entities. I tried the same methods but with no success, they render as invisible entities.

 

My render class for the regular entity is here: https://pastebin.com/HtZBA2L1

and the register method I used is as follows: 

RenderingRegistry.registerEntityRenderingHandler(EntityNuke.class, RenderNuke.FACTORY);

 

 

So what exactly is the trick to rendering in these newer versions? (Please do not tell me to "upgrade" to later versions)

Edited by bignose956
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.