Jump to content

Help on custom entity animation


lookingforoctopus

Recommended Posts

I don't think entity models have changed much since forever, so 1.8 or whatever should mostly still work. Anyway, tutorials should be more about teaching you the idea not about copying and pasting code.

 

How complicated of a model are you making and what kind of animation is required?

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

I'm trying to make a little corgi. He's pretty simple, just a head and snout, body, tail and four legs. Pretty similar to the wolf, build and animation-wise, but looks like a corgi.

 

I'm just trying to figure out what the steps are for structure within the mod (and how bloody importing animation works!). I was looking for a tutorial because I was hoping they'd go over how the files are organized. I know there was a change from Anvil to .json files from 1.7.10 to 1.8, so I was looking for 1.8+ tutorials (and cannot find) just in case. I think I'm either not searching correctly or this is so simple that there isn't a tutorial out there and/or I'm just a dumb.

 

Is it possible to locate the normal minecraft files within my computer so I could look at file hierarchy? And where the heck can I learn how to import animations? Those are my biggest concerns right now.

Edited by lookingforoctopus
spelling
Link to comment
Share on other sites

As far as I know the change to JSON files only was for block and item models, and entity models are still "hard-coded" in model classes. For example, look at the ModelWolf class.

 

The main idea is that you need a render class and a model class (look at RenderWolf and ModelWolf for ideas) and then you need to register the render class for your entity. The model class is called by the render class.

 

Basically you should be able to get started by actually calling the wolf.

 

You won't be able to "import" the animations unless you use some sort of animation API. But if you want it to have similar animations to the wolf (it will walk around, wag its tail, sit down, etc.) you can pretty much just copy the wolf code.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

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.