Jump to content

Recommended Posts

Posted

I have a few questions about rendering entities. First of all, I don't know what the RenderManager argument is and what I'm supposed to pass in (Jabelar's tutorial doesn't cover it).

 

Secondly, I'm wondering how I could implement my existing system for TileEntities to work with Living Entities. Basically, instead of using a single model instance, I have multiple instances that the game cycles through. I think I could achieve the same thing if I set the protected model field before rendering, but I'd rather not set protected fields if at all possible due to the fact that if I don't have to set protected fields, I don't need to create a class at all (the proxy function from Clojure can create instances of "extended" classes, but can't access protected fields). But I might end up doing this anyways.

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

Posted

i think in this RenderManager argument you shloud pass Minecraft.GetMinecraft().GetRenderManager() but i'm not really sure

 

Yeah, that looks about right, thanks.

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

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.