Posted October 24, 201212 yr Can someone please do an updated tutorial on doing non-living entity rendering? Mine are literally ALWAYS invisible no matter what mod im working on http://i.imgur.com/Hppni.png[/img]
October 27, 201212 yr I think it is done like this: RenderingRegistry.registerEntityRenderingHandler(NonLivingEntity.class, new NonLivingEntityRenderer()); and NonLivingEntityRenderer is: public class NonLivingEntityRenderer extends Render{ public void doRender(blah b, blah b, blah b){ //Render your Entity }
October 29, 201212 yr You also need to register your entity, before your entity renderer, look at EntityRegistry.registerModEntity(...)
November 6, 201212 yr Also when you spawn the entity through code or whatever, make sure that worldObj.isRemote == false. Otherwise you won't see anything at all or you'll get a dummy entity.
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.