Posted April 16, 20169 yr goo d days well i made a simple entity and a render, and i declare them in the client proxy doing RenderingRegistry.registerEntityRenderingHandler(mercenarymod.entidades.entidadAgujero.entidadAgujero.class, new mercenarymod.entidades.entidadAgujero.renderAgujero( Minecraft.getMinecraft().getRenderManager()) ); and its works but registerEntityRenderingHandler is market as deprecated iknow i must declare it whith the other constructor public static <T extends Entity> void registerEntityRenderingHandler(Class<T> entityClass, IRenderFactory<? super T> renderFactory) this IRenderFactory class i don't get how to use it or create whatever. ############### Someone could give mi a working example of this ??
April 16, 20169 yr Have a look at this: https://github.com/m1k3s/parachute/blob/master/parachute/client/ParachuteClientProxy.java#L47
April 16, 20169 yr Author hi thanks like 3 weeks ago i try the same but could solve the error it shows but now pop up the opciont to convert the project to java 1.8 and resolve the underliying errors ending like this but is not loading the model is just a white big box, for testing propourses im using the arrow model exactly the yellow tipped so it must look like http://s22.postimg.org/hvhu29oz5/Pantallazo_1.png[/img] i been reading about and it seems like cosa ::new == new cosa(); but seems not posible to pass the RenderManager this way how do you solve this entidadAgujero.java https://gist.github.com/anonymous/379b026a3ec2591aa0441ffa5840b66f renderAgujero https://gist.github.com/anonymous/ef0d82f49ba11c37911773804bead0dc client proxy https://gist.github.com/anonymous/73ba2b09e1b36d5dedea4edfe026f1db thanks for reading
April 16, 20169 yr Please look at my code on github. I have three repos there that may help. look at the json files as well.
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.