How can I make a mob duplicate itself when it kills another mob?

Started by Bill_Clinton on

Topic category: Help with modding (Java Edition)

Last seen on 02:34, 29. Jan 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a mob duplicate itself when it kills another mob?

I made a zombie type mob that attacks pretty much everything alive it finds. Now, I want it so that if it kills a villager, another one of the custom zombies spawns. Does anyone know how I can make that happen?

Last seen on 21:08, 7. Apr 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add a produce to when an…
Sun, 05/21/2023 - 14:11

Add a produce to when an entity dies. Check if the entity that died is a villager, and if the source entity is your custom. Then use a spawn entity block. Hopefuly this helps!

 

-- KrebPleb

Last seen on 02:34, 29. Jan 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there any way you could…
Sun, 05/21/2023 - 18:43

Is there any way you could show me a picture of what the code blocks to do that would look like? I just started using mcreator on friday and am still learning a lot of the mechanics.

Last seen on 16:06, 6. Apr 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need a similar procedure…
Wed, 04/03/2024 - 17:08

I need a similar procedure to this, but I can not find a spawn entity block. where is it?