Posted June 30, 201510 yr Hi I realize the need to be able to access the rotation / translation values of an item to do minor animations. I know this is possible because I've seen others do this such as TheGreyGhost and his Item translation tool. I just need to know how to access these values and change them (I don't need to save them) in Java. Any help is appreciated, thanks. Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
June 30, 201510 yr Hi I think you can use IPerspectiveAwareModel to do this now. I haven't tried it yet but it looks like it should work. -TGG
July 1, 201510 yr Author Thanks TGG for the reply. I'm not to sure on how to use the interface in terms of how I link it with my item and model (I've never used this before). Are there any tutorials for 1.8 out there that cover this? Any more help is greatly appreciated, thanks. Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
July 1, 201510 yr Hi I haven't seen any tutorials (but I haven't looked either ) coolAlias has a snippet here http://www.minecraftforge.net/forum/index.php/topic,30873.msg160542.html#msg160542 You could perhaps base your code off this tutorial project https://github.com/TheGreyGhost/MinecraftByExample and adapt one of the "smart" models to be IPerspectiveAwareModel - for example MBE04. It will probably take a bit of stuffing around to get it to work as you expect, so be prepared for frustration I think. -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.