The_Fireplace Posted April 10, 2015 Posted April 10, 2015 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. Quote If I helped please press the Thank You button. Check out my mods at http://www.curse.com/users/The_Fireplace/projects
TheGreyGhost Posted April 10, 2015 Posted April 10, 2015 Hi This link might help http://www.minecraftforge.net/forum/index.php/topic,28873.msg148526.html#msg148526 -TGG Quote
The_Fireplace Posted April 13, 2015 Author Posted April 13, 2015 On 4/10/2015 at 10:46 PM, TheGreyGhost said: Hi This link might help http://www.minecraftforge.net/forum/index.php/topic,28873.msg148526.html#msg148526 -TGG 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) Quote If I helped please press the Thank You button. Check out my mods at http://www.curse.com/users/The_Fireplace/projects
TheGreyGhost Posted April 13, 2015 Posted April 13, 2015 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 Quote
Recommended Posts
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.