Started by
MamaLuigi
on
Topic category: Help with Minecraft modding (Java Edition)
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!
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.
You can do that with plugins
What plugins?
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.