Name Tag Skins

Started by Matt The Banana on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 month ago
Joined Sep 2018
Points:
1020

User statistics:

  • Modifications: 3
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 163
Name Tag Skins

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

Active 1 month ago
Joined Sep 2018
Points:
1020

User statistics:

  • Modifications: 3
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 163
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

Active 1 month ago
Joined Sep 2018
Points:
1020

User statistics:

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

bump

Active 3 years ago
Joined May 2020
Points:
648

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 66
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

Active 4 years ago
Joined Sep 2019
Points:
975

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 507
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.