Change the texture of a mob with some interaction

Started by ImChim on

Topic category: Help with modding (Java Edition)

Last seen on 15:58, 12. Sep 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change the texture of a mob with some interaction

Hello: D, I need to make an entity that by giving it a specific item, it changes its texture, how can I do it?

Last seen on 10:04, 4. Sep 2022
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe you can do like this-…
Fri, 07/09/2021 - 11:55

Maybe you can do like this-

Create a new entity with that texture

Create a procedure that when right-clicked on * (entity name) * with (any item), remove the entity and summon the entity (with the texture) in place of that.

Hopefully, it would work

Last seen on 20:23, 30. Oct 2023
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Copy the entity and give the…
Mon, 08/16/2021 - 19:24

Copy the entity and give the entity a new texture, then use a procedure that is on the original entity's "When entity right clicked" and kill it and summon the new one in the same position.

Last seen on 20:23, 30. Oct 2023
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, and if the item held by…
Mon, 08/16/2021 - 19:25

Oh, and if the item held by the source entity is the item.