Change the texture of a mob with some interaction

Started by ImChim on Thu, 07/08/2021 - 17:54

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Change the texture of a mob with some interaction
Thu, 07/08/2021 - 17:54

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 09:35, 21. Sep 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 16:34, 19. Sep 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 16:34, 19. Sep 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.