Jump to content

Recommended Posts

Posted

Hi guys, I am trying to render an item with a custom model when the player is holding it. I found this tutorial, but RenderHelper.newRender[] doesn't exist anymore.

Another thing I have tried is setting the parent in the json to "builtin/entity", but there doesn't seem to be any way to set which entity it renders as.

Any help would be appreciated.

If I helped please press the Thank You button.

 

Check out my mods at http://www.curse.com/users/The_Fireplace/projects

Posted

Thanks, that helped some. That, though, is for blocks with tile entities. Is there any way to do it without making a "block" item?(I am messing around now with the idea of a "block" that functions only as an item but renders with that code)

If I helped please press the Thank You button.

 

Check out my mods at http://www.curse.com/users/The_Fireplace/projects

Posted

Hi

 

If there is another way, I haven't found it.  If you can convert your model to the IBakedModel format, you've got plenty of options (eg ISmartItemModel, Item.getModel()) otherwise you might be stuck with TileEntity-and-dummy-block.

 

-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.

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.