Posted November 10, 201410 yr ---------------- Edited August 18, 20187 yr by chimera27 Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more! http://i.imgur.com/ghgWmA3.jpg[/img]
November 10, 201410 yr Why are you doing setFull3D twice? Once in item class and in main class. Also does the resource location in the ItemRenderer work like that? I thought you had to do modid:texturepath. The proud(ish) developer of Ancients
November 10, 201410 yr Hi For each of the four views(Inventory, first person, third person, entity): - does it render correctly in 3D? - if not, what does it look like? 2D, or invisible? This link might help, see the Item Rendering sections http://greyminecraftcoder.blogspot.com.au/p/list-of-topics.html and especially http://greyminecraftcoder.blogspot.com.au/2013/09/custom-item-rendering-using.html I notice that renderItem doesn't handle INVENTORY? -TGG
November 10, 201410 yr Author ---------------- Edited August 18, 20187 yr by chimera27 Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more! http://i.imgur.com/ghgWmA3.jpg[/img]
November 10, 201410 yr I think you should use the RenderHelper, means that shouldUseRenderHelper should return true.
November 10, 201410 yr Hi Do these lines print something to console or not? System.out.println("Setting Render Types"); System.out.println("Rendering1"); I notice you aren't using the ClientProxy and CommonProxy properly. See here http://greyminecraftcoder.blogspot.com.au/2013/11/how-forge-starts-up-your-code.html -TGG
November 10, 201410 yr Author ---------------- Edited August 18, 20187 yr by chimera27 Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more! http://i.imgur.com/ghgWmA3.jpg[/img]
November 11, 201410 yr Hi I think, if you fix your proxy, it will fix your renderer registration problem. Currently the clientproxy method never gets called. -TGG
November 11, 201410 yr Hello I'm obsesed with 3D item rendering. I've found some differences between my mod and yours in the ClientProxy try to register the renderer like so (taken from my mod): MinecraftForgeClient.registerItemRenderer(MagicItems.WoodenWand, new RenderWoodenWandItem()); also I usually do in my Item class both this.isFull3D(); and this.setFull3D(); in the constructor instead of the bFull3D = true.
November 11, 201410 yr and also in your main mod class don't register the clientProxy.registerRenders but register it on common proxy (I'm doing it like this and it works for me)
November 12, 201410 yr and also in your main mod class don't register the clientProxy.registerRenders but register it on common proxy (I'm doing it like this and it works for me) whoa dude, danger zone there It will work fine until you try and run your mod on a dedicated server. Then it will fall in a heap. Client-side-only stuff like renderers should be in client proxy. -TGG
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.