How do I make a mob have a custom skin when a specific nametag is applied?

Started by Cosmic_Mango33 on

Topic category: Advanced modding

Last seen on 15:10, 2. Jan 2023
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a mob have a custom skin when a specific nametag is applied?

I want to be able to either change the texture or despawn and spawn a different mob when I put a custom nametag onto a mob.

Last seen on 22:19, 17. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if - display name of entity …
Thu, 12/01/2022 - 14:32

if - display name of entity = “name”

despawn event target entity

summon new entity at xyz type : (entity with new skin)

 

make sure to put this on tick for the original entity, not the one with the new skin