(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 Minecraft modding (Java Edition)

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
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?

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