Posted March 19, 201411 yr How change item position/angles/scale in hand in first person view or third person view
March 20, 201411 yr Hi GL11.glTranslatef GL11.glRotatef GL11.glScalef A useful guide: http://www.glprogramming.com/red/index.html -TGG
March 20, 201411 yr You can create a renderer that implements IItemRenderer. It has three methods: handleRenderType, shouldUseRenderHelper, and renderItem. Additionally, you'll need to register your ItemRenderer in your ClientProxy: MinecraftForgeClient.registerItemRenderer(YourMod.yourItem, new YourItemRenderer()); Please read the following for more info: http://www.minecraftforge.net/wiki/Custom_2D_Inventory_Item_Renderer Even though the example is for inventory rendering, I believe it can be applied to first and third person viewing. Hope this helps!
March 20, 201411 yr Author You can create a renderer that implements IItemRenderer. It has three methods: handleRenderType, shouldUseRenderHelper, and renderItem. Additionally, you'll need to register your ItemRenderer in your ClientProxy: MinecraftForgeClient.registerItemRenderer(YourMod.yourItem, new YourItemRenderer()); Please read the following for more info: http://www.minecraftforge.net/wiki/Custom_2D_Inventory_Item_Renderer Even though the example is for inventory rendering, I believe it can be applied to first and third person viewing. Hope this helps! Thanks! It Help me! I make this in 3D. [sOLVED]
March 20, 201411 yr Hi If you're still learning IItemRenderer, this link may also be useful http://greyminecraftcoder.blogspot.com.au/p/list-of-topics.html -see the "Item Rendering" topics. -TGG
March 21, 201411 yr You can create a renderer that implements IItemRenderer. It has three methods: handleRenderType, shouldUseRenderHelper, and renderItem. Additionally, you'll need to register your ItemRenderer in your ClientProxy: MinecraftForgeClient.registerItemRenderer(YourMod.yourItem, new YourItemRenderer()); Please read the following for more info: http://www.minecraftforge.net/wiki/Custom_2D_Inventory_Item_Renderer Even though the example is for inventory rendering, I believe it can be applied to first and third person viewing. Hope this helps! Very thanks!
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.