Name Tag Skins

Started by Matt The Banana on

Topic category: Help with modding (Java Edition)

Last seen on 00:53, 14. Mar 2024
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Name Tag Skins

How do you make it so that when you name a mob specifically, it changes it's texture?

Last seen on 00:53, 14. Mar 2024
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to make a mob that…
Tue, 04/28/2020 - 20:53

I want to make a mob that changes texture when you name it like _jeb and Dinnerbone

Last seen on 00:53, 14. Mar 2024
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bump
Fri, 06/12/2020 - 14:59

bump

Last seen on 03:12, 31. Jul 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
As far as I know that's…
Thu, 06/18/2020 - 02:07

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

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, it is possible. You can…
Thu, 06/18/2020 - 03:33

Yes, it is possible. You can do it in the renderer function;

MobRenderer::getEntityTexture

Do 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.