Changing Vanilla Entity Textures with a mod?

Started by MamaLuigi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing Vanilla Entity Textures with a mod?

I want to make a mod that makes it so Striders can't take damage in water, and i have that part figured out, but i also want the mod to change the texture of striders.

 

Is it even possible to change the textures of vanilla entities without a resource pack? Cause, if not, i would love to know how.

 

Any help would be greatly appreciated!

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's not possible in…
Wed, 11/08/2023 - 00:35

It's not possible in MCreator, but it might be possible with external tools? 

If you just wanted to change a vanilla entity's texture permanently, you can manually add a minecraft file to your mod's texture data and then your mod resources will also override vanilla resources like a built-in resource pack.

Optifine might have some tools for conditionally changing entity textures. If you added some conditional optifine textures to your mod resources, in a folder structured like a resource pack, you might be able to do this. (Though you'd need to test it with Optifine, obviously, which could be annoying if you can't get it to work on the dev console.) I'm not totally sure how you'd actually go about it, but that might be a good place to start.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do that with plugins
Tue, 02/27/2024 - 13:02

You can do that with plugins

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What plugins?
Fri, 04/19/2024 - 17:58

What plugins?

You either make a mixin in…
Sat, 04/20/2024 - 00:28

You either make a mixin in the entity's renderer class, or you cancel the rendering and render a replacement model with a forge event.