yoshiquest Posted August 31, 2016 Posted August 31, 2016 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. Quote Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.
lukas2005 Posted August 31, 2016 Posted August 31, 2016 i think in this RenderManager argument you shloud pass Minecraft.GetMinecraft().GetRenderManager() but i'm not really sure Quote
yoshiquest Posted August 31, 2016 Author Posted August 31, 2016 i think in this RenderManager argument you shloud pass Minecraft.GetMinecraft().GetRenderManager() but i'm not really sure Yeah, that looks about right, thanks. Quote Currently working on a mod to provide support for the Clojure programming language in Minecraft, check it out here.
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.