1
\$\begingroup\$

I have previously made two other mods that added in mobs. In order for the mob to look like a wolf, I needed the wolf.java file (Found online).

Without setting a defined java file, the mob will use the villager's java file, which can lead to some messed up mobs.

Now, I have a requirement that a mob looks like the Enderman; how would I achieve this?

\$\endgroup\$
  • \$\begingroup\$ Are you talking about the skin? Or the AI for the creature? \$\endgroup\$ – Ben Jul 8 '19 at 2:06
  • \$\begingroup\$ I mean like the model. The java file makes it so that creepers look one way and endermen look one way \$\endgroup\$ – Sydney Jul 8 '19 at 2:16
  • \$\begingroup\$ Code for the game is stored in .class files, so I assume you're talking about the model for the skin. I edited your question to make it more clear. \$\endgroup\$ – Nik3141 Jul 8 '19 at 2:28
  • \$\begingroup\$ @Nik3141 What class file would the enderman's model be in? \$\endgroup\$ – Sydney Jul 8 '19 at 2:30
  • 1
    \$\begingroup\$ Your question from Arqade has been migrated here. I have adapted it a bit so that we get better and more interesting answers. \$\endgroup\$ – Vaillancourt Jul 10 '19 at 1:25
2
\$\begingroup\$

Minecraft does not support remodeling entities yet, therefore the Vanilla datapack also does not contain entity models. Where you would find the specifics of entity models is in the code.

\$\endgroup\$
  • \$\begingroup\$ So by remodeling do you mean changing the hitbox for it? And when you say "yet" does that mean you know that it is going to become a thing? \$\endgroup\$ – Nik3141 Jul 8 '19 at 20:21
  • \$\begingroup\$ With "model" I hopefully mean the same as the asker. And with "yet" I mean that they added more and more features to resource packs over time, including block models and item models. Entity models will surely come one day. \$\endgroup\$ – Fabian Röling Jul 9 '19 at 4:46
  • \$\begingroup\$ Oh so you can give entities a custom hitbox and texture? Isn't that already implemented in the Asphodel Meadows datapack? youtube.com/watch?v=k03W9Qkag3M \$\endgroup\$ – Nik3141 Jul 9 '19 at 4:51
  • \$\begingroup\$ No, you can not, that's the point of my answer. I quickly jumped through that video and saw nothing like that either. If there is something like that, it's probably done with blocks. \$\endgroup\$ – Fabian Röling Jul 9 '19 at 5:31
  • \$\begingroup\$ Oh sorry I rewatched and it isn't in that video. The creator added retextured pigmen with guardians riding them that had a model that is slanted, very unlike the default model and texture. It should be at this link: youtube.com/watch?v=IyBybQbDZaI&t=657s \$\endgroup\$ – Nik3141 Jul 9 '19 at 5:42
1
\$\begingroup\$

What you need to do is go to your files app or just your windows search bar and type in %appdata%. In this folder, go to .minecraft, which is your minecraft directory. Go to your versions folder and select your version, and then in that folder right click the .jar file. Use 7zip to extract the files, and then go inside to the assets folder. Navigate through the folders until your filepath looks like this (example for 1.14.3, it will look slightly different for other versions):

AppData\Roaming\.minecraft\versions\1.14.3\1.14.3\assets\minecraft\textures\entity.

This should be where you can find all of the entities. All of the textures for the entire game are around this file too, so if you want the dirt or golden sword texture they aren't far away either.

\$\endgroup\$
  • \$\begingroup\$ that is textures, not models \$\endgroup\$ – Sydney Jul 8 '19 at 2:51
  • \$\begingroup\$ Oh like the dimensions of the hitbox? \$\endgroup\$ – Nik3141 Jul 8 '19 at 2:52
  • \$\begingroup\$ Yeah, i need the .java file of the enderman \$\endgroup\$ – Sydney Jul 8 '19 at 2:54
  • \$\begingroup\$ So what does this .java file do? Does it render the enderman, give him AI... \$\endgroup\$ – Nik3141 Jul 8 '19 at 2:59
  • \$\begingroup\$ I think it provides the shape of it? prob renders it \$\endgroup\$ – Sydney Jul 8 '19 at 3:00
1
\$\begingroup\$

Minecraft stores skins for all creatures in Minecraft as .png files.

These can be found in the .Minecraft folder, under the "resourcepacks" sub folder. You can open each one with a program like WinZip, 7Zip, WinRAR, etc. You can also find this folder by opening the Minecraft launcher, choosing "Resource Packs" the "Open Resource Pack Folder".

The contents of each holds a file for each and every texture in the game, including the textures, or "skins" for each mob in the game. The enderman skin can be found under

<resourcepack.zip>\textures\entity\enderman\

However, if you're looking to change the actual model of the mob, this can only be found in the Vanilla Resource pack. The Official Minecraft Wiki has a tutorial for Editing these.

\$\endgroup\$
  • \$\begingroup\$ That is the textures, not the models \$\endgroup\$ – Sydney Jul 8 '19 at 2:50
  • \$\begingroup\$ Sorry didn't see your answer before I put mine. \$\endgroup\$ – Nik3141 Jul 8 '19 at 2:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.