Jump to content

Help with custom spear


codekloud

Recommended Posts

Hello, I am trying to make a spear item that can be thrown like a trident. Everything works except while the spear is in your hand, it appears as regular item and not a model like the trident.  How would I fix this? (I am coding in 1.19.4)

Link to comment
Share on other sites

  • 3 weeks later...
On 7/5/2023 at 9:02 PM, codekloud said:

Can anyone help? I want the spear item to have a different model in your hand than in your inventory.

Hm... i do something similar in my mod in version 1.19.2, you need to edit model, im use the json file, so when it is in hand it have other dimensions, but if you want that the model in hand be tottaly diferent, you need to create an model, and then, you need to add renderer, so when you equip that, you render the model, like 3d model, or whatever you like.

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.



×
×
  • Create New...

Important Information

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