Started by
BryAstro
on
Topic category: Help with Minecraft modding (Java Edition)
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
Replace Weakness with your effect and the Spawns with your mutation Spawns and just expand for the mutated entities you want.
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