Jump to content

[1.8] use techne model as itemrenderer


Nt..

Recommended Posts

Im struggling with this task. I created model in techne and generated java file. Now i'd like to use this model ingame.  I've found many tutorials how to create an item and use custom itemrenderer but sadly, all of them were outdated.

 

Now i have - an item extending item class, registered in gameregistry etc. (it appears ingame but without texture and its model is a cube), a texturemap- no idea where should i put it, it seems like its path in resources is important and a model class generated by techne.

 

Link to comment
Share on other sites

You can't use techne models for Items anymore as of now.

Unless enough of us petition Lex to add IItemRenderer back in...

 

@NT

I'm working on a tutorial at the moment and I plan to publish it in a couple of days, in the meantime this link is pretty good

http://minecraft.gamepedia.com/Block_models

 

MrCrayFish's Furniture mod is also very helpful

https://github.com/MrCrayfish/MrCrayfishFurnitureMod

 

I have just started an "MinecraftByExample" tutorial project, it currently has only one example in it which is a simple block, but it might be helpful

https://github.com/TheGreyGhost/MinecraftByExample

 

-TGG

 

Link to comment
Share on other sites

yeah i been wondering something about.

 

i just have like tre monts in this of making mods and never i been doing an entity i not yet reach that part but the ohter day i have to modify a parental json in this post

http://www.minecraftforge.net/forum/index.php/topic,26116.0.html

 

i realize that you can add more squares and create a more complex model just working whiht parental json

is far from you could do whith techne but

soo

if there is out there some program or  techne plugin alowing to save models to json files .  that would be great

Link to comment
Share on other sites

Hi

 

I don't know of such a program yet.  And the json model is very limited compared to techne, because you can only use a very restricted number of rotations of faces (eg 22.5 degrees, 45 degress, etc).

 

Entities  models are different to block models, AFAIK they haven't changed and you can still use techne.

 

-TGG

Link to comment
Share on other sites

 

@NT

I'm working on a tutorial at the moment and I plan to publish it in a couple of days, in the meantime this link is pretty good

http://minecraft.gamepedia.com/Block_models

 

MrCrayFish's Furniture mod is also very helpful

https://github.com/MrCrayfish/MrCrayfishFurnitureMod

 

I have just started an "MinecraftByExample" tutorial project, it currently has only one example in it which is a simple block, but it might be helpful

https://github.com/TheGreyGhost/MinecraftByExample

 

-TGG

i understand now how are blocks made, but what if i need object which requires more polygons than minecraft block. Json structure seems to be terrible.

And also how can i made animations now? For calculation of animations i need to work with code, not file structure.

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.