(CLOSED) How can I change a mob to another one if a player right-clicks on an item?

Started by ImSeyo on

Topic category: Help with modding (Java Edition)

Last seen on 15:06, 19. Apr 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(CLOSED) How can I change a mob to another one if a player right-clicks on an item?
Fri, 12/29/2023 - 13:01 (edited)

How can I change a mob to another one if a player right-clicks on an item?
For example, I created a werewolf (for example) and a special crystal. I went into the world, spawn a werewolf, took a crystal, right-clicked on it, and now it's not a werewolf, but a zombie

Edited by ImSeyo on Fri, 12/29/2023 - 13:01
Last seen on 20:13, 25. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you post an image of…
Sat, 07/16/2022 - 01:55

Could you post an image of the code?

Last seen on 11:34, 9. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Sat, 07/16/2022 - 04:11

a

aaaa

Last seen on 11:34, 9. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do teh same for the custom…
Sat, 07/16/2022 - 04:12

do teh same for the custom wolf except this time make it so that instead of spawning wolf it spawns the original entity back