Posted March 8, 201411 yr Is that possible to render not Equipped items? I have an item in the 9th hotbar and i want to render it even if i'm not holding it.
March 8, 201411 yr Hi What do mean "when I'm not holding it" You mean - like a sword in your right hand and a shield in your left hand? -TGG
March 8, 201411 yr I think you mean you want the item to look 3d in the inventory like a block. Well what you need to do if you already have the 3d rendering code. Just change it from item to a block that is being 3d rendered. I'm always happy to help others! Java is not my main programming language but I have alot experience in PHP/HTML/JS/CSS3/C#/SQL
March 8, 201411 yr Author I mean like a dual wield mode. Yes like a shield in left and sword in right.
March 8, 201411 yr Hi Yes it's possible, although it's not easy. Look in RenderPlayer.renderSpecials for some more inspiration. You can hook into it using RenderPlayerEvent.Specials.Post http://greyminecraftcoder.blogspot.com.au/2013/12/forge-techniques-events.html and http://www.minecraftforum.net/topic/1419836-forge-4x-events-howto/ First person view shouldn't be too hard. Making it look right in third person view is going to be tricky, since you'll need to change the way that the left arm is drawn. -TGG
March 9, 201411 yr Author I already useing it but its only for 3rd person view. I need 1st person item render.
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.