Started by
modmakermuffan
on
Topic category: Help with Minecraft modding (Java Edition)
i want to make it so when a vanilla mob dies from my costume zombie it will change into a zombie version of itself. I know I can test for when it dies from my mob and spawn my infected version of it at its location (ex: chicken dies from my mob--> turns into a infected chicken) if you have any idea how to do this it will be greatly appreciated! even it requires some code I'm good with doing that :)
In the procedures of your entity you have a field "when the entity kill another"
Create a procedure say :
If entity is chicken (code found in "logic" tab)
Make disappear chicken
Spawn infested chicken
If "event/target entity is chicken" not work, use "source entity is chicken"