Jump to content

Variant of existing mob help (1.20.1)

Recommended Posts

I've been working on this mod of mine for a few days now, im very new to mod development.  I want to essentially copy the animations of the vanilla cow, and a few others over to a custom version.  such as drops, textures, and the items you get from them being different (in the case of like milking cows, or sheering sheep).  Ive written most of it, however im not sure where the animations for the mobs are.  Ive found the camel's but I need things like the creeper's, and the mobs i named prior.  Where is this stored, and how may i use it for my custom mob variants.

Link to comment
Share on other sites

As far as I know, it's impossible to get the animations of vanilla entities and use them for modded ones. However, you could try extending the class of the vanilla entity and using the same renderer with a different texture. That essentially tells Minecraft to reuse the same hardcoded animations. 

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.

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.