Jump to content

Recommended Posts

Posted (edited)

Hey, I'm new to modding, and I'm trying to get an item to flip and always face the center of the screen depending on which hand it's in.

 

Eg.

If you hold an apple the stem will always face towards the right of the screen regardless of which hand it is in (this is what my item does)

If you hold an axe the blade will flip in your off-hand so that it always faces the center of the screen(this is what I want my item to do)

I tried looking through the axe code, and google searching but I can't find how to get the described behavior to happen.

-Thanks

 

I don't know if this helps but my in-game model is a JSON item model using

"parent":  "minecraft:item/generated"

to convert a png to the item model

Edited by LaconianLoaf

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.