Turning mobs into another one when dying with certain effect. (SOLVED)

Started by BryAstro on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Turning mobs into another one when dying with certain effect. (SOLVED)
Thu, 12/21/2023 - 00:32 (edited)

I would like to know how to turn a Mob into another when dying with a certain effect.

I'm working on a virus effect that infects other mobs and mutate them when they die.

e.g.

When a Zombie dies with the virus effect it will turn into an Infected Zombie.

Please tell me if you know.

Edited by BryAstro on Thu, 12/21/2023 - 00:32
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Replace Weakness with your…
Sun, 08/21/2022 - 16:49

Replace Weakness with your effect and the Spawns with your mutation Spawns and just expand for the mutated entities you want.

 

Procedure

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure that…
Mon, 01/22/2024 - 16:47

Make a procedure that detects when an entity dies, and if they have the virus effect and the entity is a Zombie, then summon the Infected Zombie