Started by Matt The Banana on Mon, 04/27/2020 - 19:03 Topic category: Help with Minecraft modding (Java Edition) How do you make it so that when you name a mob specifically, it changes it's texture? Jump to top I want to make a mob that changes texture when you name it like _jeb and Dinnerbone Jump to top Permalink Log in or register to post comments bump Jump to top Permalink Log in or register to post comments As far as I know that's possible with Optifine but it must be possible without it because it has been done with this mod: https://wiki.minecraftabnormals.com/Slabfish However that mod wasn't made in Mcreator Jump to top Permalink Log in or register to post comments Yes, it is possible. You can do it in the renderer function; MobRenderer::getEntityTextureDo something like; @Override public ResourceLocation getEntityTexture(CoolEntity entity) { entity.getDisplayName(); if (entity.getDisplayName().getString().equalsIgnoreCase("COOL")) { return SUPERTEXTURE; } return NOTSUPERTEXTURE; }Keep in mind, SUPERTEXTURE and NOTSUPERTEXTURE represent ResourceLocation variables. I am not sure if this is possible without coding. Jump to top Permalink Log in or register to post comments
I want to make a mob that changes texture when you name it like _jeb and Dinnerbone Jump to top Permalink Log in or register to post comments
As far as I know that's possible with Optifine but it must be possible without it because it has been done with this mod: https://wiki.minecraftabnormals.com/Slabfish However that mod wasn't made in Mcreator Jump to top Permalink Log in or register to post comments
Yes, it is possible. You can do it in the renderer function; MobRenderer::getEntityTextureDo something like; @Override public ResourceLocation getEntityTexture(CoolEntity entity) { entity.getDisplayName(); if (entity.getDisplayName().getString().equalsIgnoreCase("COOL")) { return SUPERTEXTURE; } return NOTSUPERTEXTURE; }Keep in mind, SUPERTEXTURE and NOTSUPERTEXTURE represent ResourceLocation variables. I am not sure if this is possible without coding. Jump to top Permalink Log in or register to post comments
I want to make a mob that changes texture when you name it like _jeb and Dinnerbone
bump
As far as I know that's possible with Optifine but it must be possible without it because it has been done with this mod:
https://wiki.minecraftabnormals.com/Slabfish
However that mod wasn't made in Mcreator
Yes, it is possible. You can do it in the renderer function;
Do something like;
Keep in mind, SUPERTEXTURE and NOTSUPERTEXTURE represent ResourceLocation variables.
I am not sure if this is possible without coding.