Jump to content

[1.8] Access Item Rotation / Translation From .JSON Model


EverythingGames

Recommended Posts

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]

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.