Started by
DraKras
on
Topic category: Help with Minecraft modding (Java Edition)
Help please, what happens is that I need that when a creature is killed, this one release another creature, Try to do it but the only option I found was that all the mobs of the game, cows, chickens, etc., will release the creature I wanted, and I want just one creature let go of the mob I want, and that it's not for everyone, how can I do it? ah, and Sorry for my English, I'm not very good
Edited by DraKras on Thu, 03/19/2020 - 19:31
"When entity dies"
World management > Execute command /summon yourmod:creature
those were the commands I use, but it makes all the creatures when they was killed drop my mob, I want just a only mob to release the creature, not all, and I dont know the command for that, and sorry 4 my english dude
Then you need to add an if statement. IF entity is of type..
Add new procedure.
Trigger = Entity dies
Add IF
Under ENTITY, add "is entity of type..." and set what you want to include
Under WORLD MANAGEMENT, add "Execute Command ..." and add the name of the creature you want to summon on death.
Command is "summon minecraft:bat" for example.